WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Thumbnails Serve Full Size Images (12 posts)

  1. WPMonkeyATL
    Member
    Posted 5 months ago #

    Hello - I noticed that if I enable Thumbnail display of related posts, YARPP by default serves the full sized images of those related posts and then resizes them to 120x120 within the client's browser.

    This seems rather inefficient: shouldn't YARPP by default serve the "Thumbnail" size images (e.g. as defined in Settings/Media/Thumbnail Size, typically set to 150x150) instead of the full-size images?

    Even if I set the yarpp-thumbnails size explicitly in functions.php to be the same size 150x150 as the Settings/Media/Thumbnail Size, YARPP still serves up the full sized images:

    add_image_size('yarpp-thumbnail', 150, 150, true);

    In my case, the full sized images are often 1000px or 1600px wide (to accommodate retina-ready screens, e.g. using the "Retina 2x" plugin). Seems this would adversely affect page load since the browser has to receive these heavier files and then resize them locally to display the related posts.

    Is there a way to tell YARPP to serve the thumbnail-sized images as its starting point (and then attempt to resize those at the client)?

    Thanks in advance.

    https://wordpress.org/plugins/yet-another-related-posts-plugin/

  2. WPMonkeyATL
    Member
    Posted 4 months ago #

    Just wondering, might anyone have some wisdom or insight on this? Might there be a setting or tweak that I am overlooking? Thanks in advance.

  3. jeffparker
    Member
    Plugin Author

    Posted 4 months ago #

    Where are you seeing that YARPP is serving full-size images?

  4. eamemn
    Member
    Posted 4 months ago #

    Hello, I'm also having this issue, is there a way to get the plugin to use my thumbnail instead of loading a much larger image :) , any help is appreciated..

    P.S. here's the link to my site: so you can take a look at what we mean, you can run any of my posts on gmetrix to see which images yarpp is using :)

    Thanks in Advance!!

    Edwin

  5. jeffparker
    Member
    Plugin Author

    Posted 3 months ago #

    Hi eamemn. I don't see a YARPP image on that page.

  6. WPMonkeyATL
    Member
    Posted 3 months ago #

    @jeffparker: I tried deleting all of my generated thumbnail images and then doing a complete "regenerate thumbnails" (using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/). I also cleared all browser caches.

    The good news: it seems that YARPP is now serving up the resized images. By default YARPP served up 120x120 thumbnails, and then I adjusted functions.php with "add_image_size('yarpp-thumbnail', 150, 150, true);" and also did a full "regenerate thumbnails" again, and then YARPP served up the 150x150 thumbnails I was looking for.

    So, my original problem may have been a matter of cleaning up and regenerating all thumbnails, rather than a problem with YARPP - it seems to be working for me now! BTW, this is all with the latest WordPress 3.9.

    Again, thanks for your help and for the great plugin!

  7. jeffparker
    Member
    Plugin Author

    Posted 3 months ago #

    Great! Glad it's working for you now. Thanks for the feedback.

  8. jeffparker
    Member
    Plugin Author

    Posted 3 months ago #

    If you wouldn't mind, please choose "Works" at the bottom right of the main YARPP page. We just want to make sure that users of WP 3.9 and the latest YARPP are confirming that the plugin is indeed compatible.

    Thanks!

  9. WPMonkeyATL
    Member
    Posted 3 months ago #

    @jeffparker: sounds good - I just hit the "works" button with WordPress 3.9 and the current YARPP 4.1.2. Thanks!

  10. jeffparker
    Member
    Plugin Author

    Posted 3 months ago #

    Thanks much!

  11. eamemn
    Member
    Posted 3 months ago #

    Hey jeffparker, yes there is no yarpp images on that page any longer, i was able to implement what i needed without the need of your plugin, so i opted for that, but thank you for the help :)

  12. jeffparker
    Member
    Plugin Author

    Posted 3 months ago #

    Ok. Maybe you'll revisit the YARPP plugin in the future. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.