Pulls image by size, not size_name
-
I have created custom crops of my thumbnail images. For example, my ‘medium’ images are 300×200 (instead of 300×300).
Under Size of Thumbnail, I choose “Medium”, but it instead loads another thumbnail size (which is 324 x 324).
If I change line 65 of widget.php from
the_post_thumbnail( $this->customs[ 'thumb_dimensions' ] );
to
the_post_thumbnail( 'medium' );
it works correctly. I’d like it to pull the thumbnail by the size_name (size ID) instead of trying to match the dimensions.
Any help would be appreciated. Thank you for the fantastic widget which improves the look of my blog tremendously!
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Pulls image by size, not size_name’ is closed to new replies.