I just updated to 4.0beta and then 4.0 offical release.
I found that the it always load default thumbnails picture.
Did yarrp automatically found the thumbnails?
My website is : http://www.enterpr1se.info
YARPP uses the post thumbnails feature, also known as “featured images”: http://en.support.wordpress.com/featured-images/#setting-a-featured-image
@enterpr1se, were you able to resolve this issue?
Yes, I found that if the post have featured images, it will have a thumbnails.
But my theme will auto create a 150×150 thumbnail for each post, did I need to send a request to them to make the changes?
And just an opinion, if yarp can choose featured images and first choose, and if the post doesn’t have any featured images, then the first image of that post will act as the thumbnail.
Will it better?
Glad it is working in the cases where you have thumbnails set. Are you asking about changing the size of the thumbnail? What theme are you using?
Finding the first image and using it as the thumbnail is something another plugin can come in and take care of… in fact, it looks like there is a plugin that does that: http://wordpress.org/extend/plugins/auto-post-thumbnail/
I am using WP-Prosper theme
This theme has YARPP templates support already.
And it will generate image to different size, included 150×150 thumbnail.
YARPP use a 1:1 thumbnail box, so it will change Aspect Ratio from 4:3 to 1:1, so the images are not correctly display.
How to solve this?
If that theme includes a YARPP template, I suggest you continue to use that theme’s builtin template. Choose “custom” in the YARPP settings and then choose that theme’s template. That *should* behave exactly the same as it did before.
Just in case, here’s the latest beta which fixes some things, which I suggest you upgrade to:
my problem is it only shows default thumbnail, i do not use thefeatured image of wordpress but instead i use the get image plugin, hope there is a work around on this that YARP will be able to seamlessly work with get image, sample of site im developing that uses YARP is http://sharepirate.com
@omnimobile if you’re not using the featured images feature of WordPress, YARPP will not support it. When I say “featured image”, I mean those that are set like this: http://en.support.wordpress.com/featured-images/#setting-a-featured-image
Like I mentioned above, it may be possible to get other image systems to feed this process, but that’s the domain of other plugins, like the Auto Post Thumbnail plugin.
What is this “get image” plugin you mentioned?
My theme will auto generate different size images.
After I upload the image for example evaq.jpg, it will auto generate like
Could I modify the code to let YARPP use evaq-150×150.jpg as thumbnail?
With YARPP 4.0.1 you can now specify a custom thumbnail size. This is in the readme. You’ll want to add code like
add_image_size( 'yarpp-thumbnail', 150, 150, true );to your theme’s functions.php file.
Again, though, YARPP only uses WordPress’s builting featured image system. If you’re generating images without going through the WordPress image_size functions it’s possible that the YARPP thumbnail display won’t find it.
But the meaning I got from readme is YARPP 4.01 is use evaq.jpg to resize 150×150, that is still orginal evaq.jpg and just display as 150×150.
If the image is 2048×1080, a 10MB image, YARPP will load that 10MB image and display as 150×150.
Am I right?
But what I want is directly load a image name call “evaq-150×150.jpg”, that’s a real 150×150 pixel image that’s already cropped and resized.
Could I modify the code to do that?
The new 4.0.1 FAQ has information on how to fix this. The easiest thing to do is to run the Regenerate Thumbnails plugin after you change the size:
This way the 10mb file won’t be served. Glad it sounds like you worked it out. 🙂
- The topic ‘Always display default thumbnails picture, not display post thumbnails’ is closed to new replies.