WordPress.org

Support

Support » Plugins and Hacks » Yet Another Related Posts Plugin (YARPP) » [Resolved] Thumbnails Serve Full Size Images

[Resolved] Thumbnails Serve Full Size Images

  • 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 120×120 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 150×150) instead of the full-size images?

    Even if I set the yarpp-thumbnails size explicitly in functions.php to be the same size 150×150 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/

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Thumbnails Serve Full Size Images’ is closed to new replies.
Skip to toolbar