Question

I created a custom post type 'film" and I want to resize it thumbnails to 100x125 px. I uploaded the images in these dimensions, but when I load the page, several images are showed to 86x125.

This is my functions.php

add_theme_support('post-thumbnails';
set_post_thumbnail_size(150, 150, true);
add_image_size('films-thumbnail', 100, 125, true);

And in my archive-films.php I wrote:

the_post_thumbnail('films-thumbnail');

But I say doesnt work for all images, I dont know if its for wordpress error or for markup error.

This is the list. http://goo.gl/Y3LFCq

Thanks in advance.

Was it helpful?

Solution

Download and install Force Regenerate Thumbnails. This properly resize all your thumbnails to the sizes set. It will also delete sizes that is not used in the theme. Another option is to download and install Regenerate Thumbnails. It does exactly the same, but does not delete image sizes that are unneccesary

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top