WordPress.org

Ready to get started?Download WordPress

Forums

upPrev
Thumbnails not working after installing code (12 posts)

  1. ebasa
    Member
    Posted 1 year ago #

    I love this plugin, but I can't get the thumbnails to showup on my site. I did add the following code to the custom CSS section, but it's still not coming up. Do I have to change some of the coding in this code?

    <?php
    add_action( 'iworks_upprev_image' , 'default_image' );
    function default_image()
    {
    return '<img src="image.png" alt="" />';
    }

    http://www.musicians-journey.com

    http://wordpress.org/extend/plugins/upprev/

  2. Marcin Pietrzak
    Member
    Plugin Author

    Posted 1 year ago #

    Change image.png to proper image uri.

  3. ebasa
    Member
    Posted 1 year ago #

    Hi Marcin,

    I changed the code to the code below, but it still isn't working.

    <?php
    add_action( 'iworks_upprev_image' , 'default_image' );
    function default_image()
    {
    return '<img src="proper image uri" alt="" />';
    }

    Am I doing something wrong?

  4. Marcin Pietrzak
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry.

    Change this to existing image, like:

    http://s.wordpress.org/style/images/wp-header-logo.png

  5. ebasa
    Member
    Posted 1 year ago #

    Thanks Marcin. I'll give it a shot

  6. ebasa
    Member
    Posted 1 year ago #

    If I use a specific .png or .jpg file, doesn't this mean that the same logo will apply to all the thumbnails?

  7. Marcin Pietrzak
    Member
    Plugin Author

    Posted 1 year ago #

    If I use a specific .png or .jpg file, doesn't this mean that the same logo will apply to all the thumbnails?

    Yes. If You want to have other, for example depend on category, You must write some code to handle this.

  8. melissaaggie98@gmail.com
    Member
    Posted 1 year ago #

    I am having the exact same issue, though before updating upprev to the most recent version, I never had any problems with the images. I want the associated image for each post to be displayed in size 75 x 75 pixels.

    There used to be an option on the plugin which would allow you to set this dimension, but now I see that since the option has disappeared, my images won't display either. It seems like there's a new bug with this version. Can you please provide a fix? Thanks for your help!

  9. Marcin Pietrzak
    Member
    Plugin Author

    Posted 1 year ago #

    There used to be an option on the plugin which would allow you to set this dimension, but now I see that since the option has disappeared

    Could You check on bottom:

    Apperance -> upPrev -> Content

    http://upprev.com/?attachment_id=249

  10. melissaaggie98@gmail.com
    Member
    Posted 1 year ago #

    Thanks so much for this...I reinstalled the plugin and now that option is appearing once again. I guess my install the first time went wonky. Thanks for the help!

  11. melissaaggie98@gmail.com
    Member
    Posted 1 year ago #

    Well, perhaps I spoke too soon. Now for some reason, this option is missing again. I took a screenshot to show you, but I don't guess it's possible to upload it here.

    Just know that the image option is no longer available again.

  12. melissaaggie98@gmail.com
    Member
    Posted 1 year ago #

    Now all of a sudden the option is suddenly there again...very strange and it had nothing to do with using a different browser, clearing my cache, etc. I'm not sure why this keeps disappearing randomly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic