WordPress.org

Forums

WordPress Related Posts
[resolved] Stock Thumbnails -- Not Featured Images Displaying (13 posts)

  1. WPMuse
    Member
    Posted 11 months ago #

    Great plugin, thanks! Read all the previous comments on this issue to no avail. It seems at least one thumbnail is not an image from the site. Appears to be a stock image -- not sure where they are coming from.

    Clicked around and this is pretty consistent -- it is the exception that all the correct Featured images show. Did the Regenerate Thumbnail plugin route -- no change. Cleared caches, clear CDNs -- still no go. And, these posts do in fact have Featured images designated that have not ever been changed.

    Example:
    http://www.paracordpaul.com/purple-heart-day-celebrates-patriotism/

    Any ideas? Thank you in advance!

    https://wordpress.org/plugins/wordpress-23-related-posts-plugin/

  2. PetraP
    Member
    Plugin Author

    Posted 11 months ago #

    Hey,

    thanks for reaching out! I would like to ask you for the plugin settings screenshot(s) and also for a list of your other plugins, if possible?

    Looking forward to your reply,
    Petra

  3. WPMuse
    Member
    Posted 11 months ago #

    Thanks for the response, Petra!

    Here you go!

    Plugins

    WPRP Settings

    TIA! ;-)

  4. PetraP
    Member
    Plugin Author

    Posted 11 months ago #

    Hey,

    thanks for getting back to me and big thank you for the screenshots! I have installed some of those plugins that could affect our plugin but unfortunately I have been unsuccessful in replicating the issue. If I am not mistaken you are using the "Outreach" theme which is not free to use, so I can't really test this completely on my side. However you could try solving the problem with custom fields:
    1. first, go to your create-new-post page or —even better— in one of your previous already-published-posts. On the right top corner you should see the 'Screen Options' button; click on it for the drop-down menu to open. After that, tick the box next to 'Custom Fields'.
    2. now you should be able to see a new box below the editor called 'Custom Fields'. Create new custom field, name your image that you would later like to use it as a thumbnail for this specific post (something like "My thumbnail"), enter the URL of the image you would like to use and finish with the click on the button "Add Custom Field". Of course, don't forget to save this draft, or publish the post when you're ready.
    3. after that, visit the settings of (y)our plugin and scroll down to the bottom. The option called "Use custom field for thumbnails" should now be available, tick the box next to it, and select the value you've set up before (if you used "My thumbnail", select that one).

    Let me know how it goes, I am eager to hear the results!
    Take care and have a nice weekend,
    Petra

  5. WPMuse
    Member
    Posted 11 months ago #

    Hey, Petra:

    Thanks for the response! Genesis/Outreach child them by StudioPress and the plugins used on that site are a combination I use consistently without issue. Unfortunately, I discovered that the related post plugin dramatically reduced the performance of the site and therefore had to remove it before receiving your detailed response.

    Appreciate the support!

  6. puda
    Member
    Posted 10 months ago #

    Petra,

    Thanks! It fixed my problem. Not sure why it doesn't automatically chose a photo from any of my blog posts now though.

  7. PetraP
    Member
    Plugin Author

    Posted 10 months ago #

    Hey Puda,

    would you be so kind and give me a link to your blog, so that I can take a closer look? The thing is that with a custom field you choose the image for each post manually. And for our plugin to find the appropriate image automatically - it must be at least 151x151 (px) in size.

    Looking forward to your reply,
    Petra

  8. puda
    Member
    Posted 10 months ago #

    Hey Petra,

    Makes sense now! My images are 580x140.

  9. PetraP
    Member
    Plugin Author

    Posted 10 months ago #

    Hey,

    thanks for getting back to me! Glad to be of any help - did the re-sizing do the trick?

    Best,
    Petra

  10. puda
    Member
    Posted 10 months ago #

    I manually do it since I like the size of my image. Is there any plan to change the 150 x 150 size?

  11. topgearbox
    Member
    Posted 9 months ago #

    Is there a way I can edit the plugin code to recognise smaller images? My related post thumbnails are less than 150px high and I went ahead and uploaded a few hundred featured post images that were smaller than 151x151px, before realising...

  12. topgearbox
    Member
    Posted 9 months ago #

    Nevermind, I found the settings in the plugin config.php

    define('WP_RP_THUMBNAILS_WIDTH', 150);
    define('WP_RP_THUMBNAILS_HEIGHT', 150);
    define('WP_RP_CUSTOM_THUMBNAILS_WIDTH', 150);
    define('WP_RP_CUSTOM_THUMBNAILS_HEIGHT', 150);

    I reduced these all to 120 (my images all had a height of 125) and it worked.

  13. PetraP
    Member
    Plugin Author

    Posted 9 months ago #

    Hey,

    you could also set those sizes in the "custom size thumbnails" to 120px in the plugin's advanced settings and put this code to the "custom CSS":

    .related_post_title {
    }
    ul.related_post {
    }
    ul.related_post li {
    width: 120px !important;
    height: 120px !important;
    }
    ul.related_post li a {
    }
    ul.related_post li img {
    width: 120px !important;
    height: 12opx !important;
    }

    Remember to click the 'Save' button.

    All the best,
    Petra

Reply

You must log in to post.

About this Plugin

  • WordPress Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic