add_image_size not working
-
I am trying to resize an image using either the following code:
add_image_size('poster-full', 450, 9999, false);
OR
add_image_size('poster-full', 450);
I need it to be resized widthwise, and height should be proportional.
When, I go and Run the Regenerate Thumbnails Plugin, i see that the image is resized correctly. For both the above cases.But, when I do
the_post_thumbnail('poster-full')
, The Orginal Image shows up, and not the resized one. I manually searched the directory. The resized Image exists.
- The topic ‘add_image_size not working’ is closed to new replies.