Home › Forums › Calendar Products › Events Calendar PRO › Image cropped wrong in Single Event View in PRO v 4.3.4
- This topic has 8 replies, 3 voices, and was last updated 9 years, 3 months ago by
Yves.
-
AuthorPosts
-
January 8, 2017 at 6:34 am #1214844
Yves
ParticipantSee example:
http://www.treffens.be/motortreffen/lenterit-2017/
Image being cropped instead of resizedJanuary 9, 2017 at 3:22 pm #1215383Geoff B.
MemberGood 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.January 10, 2017 at 2:55 am #1215697Yves
ParticipantHi,
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,
YVesJanuary 10, 2017 at 10:39 pm #1216372Geoff B.
MemberGood 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:- The size settings for images found under Setting > Media
- 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.January 11, 2017 at 8:12 am #1216545Yves
ParticipantHi,
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’]);
/////////////January 11, 2017 at 11:42 pm #1217210Geoff B.
MemberGood evening Yves,
Kudos on finding the culprit.
It absolutely does make sense to edit these settings.
However, I would recommend 2 things:- Try using a Child Theme if you can to do that. This way these changes will stay even when you update your theme.
- 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.January 18, 2017 at 3:17 am #1220162Yves
ParticipantThis 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.January 18, 2017 at 12:06 pm #1220388Geoff B.
MemberGood 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.
-
AuthorPosts
- The topic ‘Image cropped wrong in Single Event View in PRO v 4.3.4’ is closed to new replies.
