Tagged: featured image
May 17, 2021 at 3:44 am #1300621
For some reason the featured image of my posts is being cropped at the top and bottom. It looks normal when i click on it and expand it to the lightbox. I have tried regenerating the thumbnails without success.
How can i fix this?May 18, 2021 at 9:14 am #1300900
Thank you for the inquiry.
That is the default size of the featured images on post with sidebar. To adjust it, you may need to install the following plugin, activate it, go to the Settings > Media panel, look for the entry_with_sidebar thumbnail, adjust its size, then regenerate the thumbnails.
IsmaelMay 19, 2021 at 12:50 am #1301086
This plugin hasn’t been updated in over 2 years. I don’t really want to rely on a plugin that is no longer supported. Does Enfold have a built in way to change featured image size for posts with sidebars? Or something i can add in the functions.php?
thanksMay 20, 2021 at 3:38 am #1301265
The plugin is outdated but it works properly. If you do not want to use it, then you will have to modify the functions.php file and adjust the dimension of the thumbnail manually. Around line 193, you will see this code.
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
Adjust the width and height value, then regenerate the thumbnails, or upload the images again. This plugin will help with the thumbnail regeneration.
IsmaelJune 7, 2021 at 3:46 am #1304321
Sorry for the slow reply, i have been preoccupied with the other thread. I have added the code you gave me to functions.php and played with the image sizes, however the image still gets cropped regardless of the size. I have tried changing the size of the image containers and overlay image etc using css but even if the container is much larger than the photo it still gets cropped?June 8, 2021 at 8:56 am #1304566
Thank you for the update.
Did you re-upload the images or regenerate the thumbnails after adjusting the size? What are the actual sizes of the images that you are uploading? You can use the same plugin above to regenerate the thumbnails.
IsmaelJune 11, 2021 at 2:51 am #1305146
I have tried this:
1. completely re-uploaded new images
2. used the media replace plugin to replace the existing images
3. used the regenerate thumbnails plugin
The original size of the photo ( the last photo that i tested ) is 500×900 pixels. I get that this is not a square photo, but i will be relying on clients uploading these images so i can’t manually crop photos for everyone. I just need the featured image to not crop photos, even if it means having a smaller photo.June 11, 2021 at 6:58 am #1305200
You should use a wider image, say a minimum of 700-800px, this is for pages with sidebar. For full width pages or posts, using wider images may be necessary.
We cannot check the site above because it is on maintenance mode and the login info is no longer valid. Please provide another login account or generate a new login token so that we can check the featured image again.
You must be logged in to reply to this topic.