I have a doubt about the thumbnails. I would like to know whats is necessary to do for the images won’t appears distorted in the square formate of the thumbs when someone make a search or click on a category or a tag.
I read the informations of this link http://codex.wordpress.org/Post_Thumbnails and tried to edit the functions.php file
Look to exemples of my site, http://www.vanessavolk.com.br/?s=jo%C3%A3o+pessoa&submit=Ir and http://www.vanessavolk.com.br/tag/arquitetura/
the images appears distorted, I would like that the thumb make a crop on them. Is possible?
Thanks a lot
You may need to install and run a plugin like Regenerate Thumbnails to get them to display properly: http://wordpress.org/extend/plugins/regenerate-thumbnails/
Thanks for your answer. This didn’t work. This plug change all the thumbs in my galleries, but the squares images don’t. I tried the “Post Thumbnail Editor” too
In your website, when I click on a cathegory the images don’t appears distorted
This group of images is “big-grid-thumb”? I need to change something in functions.php?
You shouldn’t have to modify anything to get the thumbnails hard-cropped, that’s the default behavior.
Next, I would try deactivating any plugins to rule out a conflict.
It also looks like you’re using a child theme — try activating the parent theme (and Regenerate Thumbnails again) to see if one of the changes made in the child theme is causing a problem.
Thanks for your attention,
I was using a child theme to try to edit without problems,
I deleted the theme and install again and desactived a plugin,
After doing this I use the Regenerate Thumbnails, and failed 🙁
Thanks for your help
Ahh, it looks like each post is pulling the first attached image, which does not get cropped. You should set a featured image for each of your posts, that will cause the images to be hard-cropped. The first attached image is a last-ditch effort to put something in the thumbnail area if the featured image fails.
In your child theme, you may be able to change line 75 in index.php from
wp_get_attachment_image_src( $attachment->ID, 'medium' );to
wp_get_attachment_image_src( $attachment->ID, 'big-grid-thumb' );(haven’t tested this so not sure if it will work, but it’s worth a try).
- The topic ‘Thumbnail – Search results and tag or catefories pages’ is closed to new replies.