Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1300621

    Hey,

    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?

    #1300900

    Hey w_archer,

    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.

    // https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    #1301086

    Hi Ismael,

    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?

    thanks

    #1301265

    Hi,

    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.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1304321

    Hi Ismael,

    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?

    #1304566

    Hi,

    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.

    Best regards,
    Ismael

    #1305146

    Hi Ismael,

    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.

    #1305200

    Hi,

    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 larger 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.

    Best regards,
    Ismael

    #1306631

    Hello,

    I have tried using a much larger photo but it didn’t make a difference. I even tried to install the simple image sizes plugin that you recommended but the photos are still being cropped.

    i have remade a login for you below

    #1306633

    Actually ignore that, i regenerated the thumbnails about 100 times and it finally worked. Not sure why it wasn’t working earlier since i changed browser to avoid caching issues. In any case everything is working as expected now so you can close this .

    thanks

    #1306840

    Hi,

    Alright. Glad to know that it is now working. Please feel free to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Featured image being cropped’ is closed to new replies.