Home › Forums › Calendar Products › Events Calendar PRO › Feature Image Auto Cropping to 200×200
- This topic has 7 replies, 2 voices, and was last updated 8 years, 11 months ago by
Bill.
-
AuthorPosts
-
April 17, 2017 at 11:59 am #1270781
Bill
ParticipantWordpress media settings do not force a crop – nor are they set to 200px wide. Our thumbnail size is set to 300px wide minimum. So I’m frustrated where to look for this peculiar behavior.
Blog posts don’t suffer this “forced cropping” only events.
I even modified the single-event.php under our child theme to call the the_post_thumbnail insteado the tribe_event_featured_image function. But to no avail. The image is still “hard” cropped to 200×200.
Any idea on where to look for this? What function in Event Calendar Pro could I override or hook into that might stop this behavior?
April 17, 2017 at 9:02 pm #1270968Shelby
ParticipantHi Bill,
Thanks for reaching out to us with this issue, I’m happy to help! ๐
I think you’ll find this guide here to be helpful. Look under the title, “Customizing the Featured Image Size.” Please let me know if you have any questions about how to implement or if you have any other follow up questions.
Best,
Shelby ๐
April 17, 2017 at 11:00 pm #1270989Bill
ParticipantShelby, thanks for that link. But we’ve already done this. We edited the single-event.php file in our child theme and it’s not that the image isn’t displaying… it is. And it’s also displaying the “called size (i.e., Large, Full, etc.)”.
The glitch is it’s hard cropping the image. So if I upload an image that’s 1000px wide by 300px high it’s hard cropping it to 200px by 200px. Which is not the behavior that’s expected. We do not have any hard cropping configured nor is there a resize set to 200×200. Our thumbnail is set to 300pxw by 600px.
See, we’ve commented out the default tribe feature image and replaced it with the simple the_post_thumbnail() function call – if it’s our office IP (so it only shows to us during dev).
<?php //echo tribe_event_featured_image($event_id, 'full', false); ?> <?php if ($_SERVER['REMOTE_ADDR'] == 'xxx.xxx.xxx.xxx') { echo the_post_thumbnail( 'full' ); } else { echo tribe_event_featured_image($event_id, 'full', false); } ?>The peculiar thing is the full size image uploads – shows as a wide image before submitting/updating the event. But once we update – it hard crops the image.
April 19, 2017 at 5:26 am #1271544Bill
ParticipantAny other ideas?
April 19, 2017 at 7:55 pm #1271942Shelby
ParticipantHey Bill,
I’m waiting for input from some team members of mine that help out on the dev side of things. Though technicallyย this kind of request would require some customization that’s usually beyond the scope of support in these forums, so your patience is much appreciated. I’ll let you know when I have more information.
Thanks again for your patience,
Shelby ๐
April 26, 2017 at 8:54 pm #1275052Shelby
ParticipantHi Bill,
Thanks again for your patience. Our developers have been prioritizing our recent release, and the forums have been pretty slammed, so I haven’t been able to get more information on this. However, I did some digging of my own, and I think you may find this fellow user’s tutorial helpful. ๐
Let me know!
Best,
Shelby ๐
May 18, 2017 at 9:35 am #1285702Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Feature Image Auto Cropping to 200×200’ is closed to new replies.
