Tagged: featured image
I really like to use the featured image option at my photo blog! ;-)
Right now I set the featured image size to 2060×687 (entry_without_sidebar), so I can use retina panoramas with ratio 1:3 as featured image.
However, I want to show other type of images too (non-panoramas), and use these as a featured image the same way. However, these images have other sizes than my panoramas. In fact: each image can have its own custom size.
So ideally speaking, I want the size of the featured image to be same as the photo I use for it, whatever size this photo might have. This means that each post can have a featured image with a different size.
Is that possible?
Hey Marc!
Try opening up /enfold/includes/loop-index.php and change line 37 from this.
$current_post['slider'] = get_the_post_thumbnail($current_post['the_id'], $size);
To this.
$current_post['slider'] = get_the_post_thumbnail($current_post['the_id'], 'full');
Regards,
Elliott
That does the trick, great!
Thnx,
Marc