• how can the plugin be set to use the thumbnail created in the wordpress media library? to clarify: the wordpress media library provides the capability to set a thumbnail for the image by cropping it as desired. i’d like the plugin to call on this thumbnail as defined by the wordpress media library.

    on a side note, i’m really not sure why anyone designing for wordpress would program their product any differently. Why would you not use the wordpress thumbnail when calling on a thumbnail? Seems totally illogical to me…but I’d love to understand why.

    http://ww.wp.xz.cn/plugins/yet-another-related-posts-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YARPP

    (@jeffparker)

    YARPP does rely on the WordPress featured images (or thumbnails) to be set for each post. However, many users may have the WordPress thumbnails set to a different size than they want in their related post section. Our FAQ discusses how to set the thumbnail size for YARPP, run Regenerate Thumbnails, and be good to go.

    Thread Starter kylelevon

    (@kylelevon)

    Thank you for the reply. Perhaps I’m not being clear. You state that “YARPP does rely on the WordPress featured images (or thumbnails) to be set for each post.” This statement implies that “featured images” and “thumbnails” are one and the same. However, they are not. In the wordpress media library, users can edit their images and apply the edits ONLY to the thumbnail. So you can have an image that has an aspect ratio of 6:4 and set that same image’s thumbnail to 1:1 by cropping the image. Theme and plugin developers can then program their applications to pull different images for different purposes. For example, the 6:4 aspect version of the image can be used for the blog post, while the 1:1 aspect version of the image can be used as the thumbnail. I have addressed this issue with my theme’s developer who was able to quickly add code to ensure that these images were used appropriately.

    If YARPP used the “Thumbnail” version of the images, then it would be displaying the thumbnails I have created as described above. But it is not. As it stands, I added code suggested in this forum by another member (below) in order to fix the issue for the standard image sizes I use on my site for the “featured images”. Again, my suggestion is to have YARRP call on the thumbnail as defined by the user in the wordpress media library. If one has not been defined then pull the images as you are currently pulling them.

    yarpp-thumbnail {
    height: 150px !important;
    }

    .attachment-yarpp-thumbnail {
    height: 90px !important;
    width: 120px !important;
    }

    .yarpp-thumbnail-title {
    font-size: .8em !important;
    max-height: 4em !important;
    }

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘thumbnails’ is closed to new replies.