Image cropped wrong in Single Event View in PRO v 4.3.4

Home Forums Calendar Products Events Calendar PRO Image cropped wrong in Single Event View in PRO v 4.3.4

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1214844
    Yves
    Participant

    See example:
    http://www.treffens.be/motortreffen/lenterit-2017/
    Image being cropped instead of resized

    #1215383
    Geoff B.
    Member

    Good evening Yves and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about image being cropped on your install. Yikes!
    I would love to help you with this topic.

    I have taken a look at your site and, in the single event view, it looks like the following image URL is being called: http://www.treffens.be/wp-content/uploads/2016/12/20170326_lenterit_MTC_Zedelgem-566×321.jpg

    As you can see from the URL, it looks like the “Large” media size from your Settings > Media is limiting the ratio as the thumbnail is being created. Another possibility is that something in your theme/child theme setting or functions.php would be controlling the image sizes.

    I just ran a test on my install using Enfold and the image found here: http://www.treffens.be/wp-content/uploads/2016/12/20170326_lenterit_MTC_Zedelgem.jpg

    This allowed me to successfully import the image as a featured image without cropping.

    My first recommendation would be to head over to Settings > Media and change the “Large” values to 1030px x 1030px.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1215697
    Yves
    Participant

    Hi,

    The only potential candidate messing up the layout is Beaver Builder Plugin (Lite Version), which I have disabled but not resulting in fix.
    Thumbmains, large size, all formats appear to be cropped in a bad way. Do I need to rebuild these images in order to work properly with the Event Calendar ?
    Adding a screenshot of my media settings, assuming these were already size they way you suggested in previous response.

    Kind regards,
    YVes

    #1216372
    Geoff B.
    Member

    Good evening Yves,

    Thank you for writing back.

    At this point I do not believe that another plugin is interfering with the images.
    This is typically caused by one of 2 things:

    1. The size settings for images found under Setting > Media
    2. Something in the theme / child theme

    Before rebuilding the thumbnails, I would recommend adding a new copy of that image now that your media settings are in order.

    This should only impact newly added images. If it works, then you can use a plugin to rebuild your thumbnails.

    If it does not work, after a database / theme settings backup, could you temporarily revert back to a default WordPress theme such as twenty-sixteen to see if that helps ?

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1216545
    Yves
    Participant

    Hi,

    I figured out that cropping/resizing originated back to setting in the functions.php file/.
    Does is make sense starting to edit these settings ?

    Thanks
    YVes

    /////////
    $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
    $avia_config[‘imgSize’] = apply_filters(‘avf_modify_thumb_size’, $avia_config[‘imgSize’]);
    /////////////

    #1217210
    Geoff B.
    Member

    Good evening Yves,

    Kudos on finding the culprit.

    It absolutely does make sense to edit these settings.
    However, I would recommend 2 things:

    1. Try using a Child Theme if you can to do that. This way these changes will stay even when you update your theme.
    2. Try contacting the Enfold authors to see if they have a better solution for you 🙂

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1220162
    Yves
    Participant

    This solved my issue:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the entry_with_sidebar image size (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    #1220388
    Geoff B.
    Member

    Good afternoon Yves,

    This is awesome! Well done!

    Thank you for sharing your solution for everybody’s benefit.
    It’s truly appreciated.

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Image cropped wrong in Single Event View in PRO v 4.3.4’ is closed to new replies.