Feature Image Auto Cropping to 200×200

Home Forums Calendar Products Events Calendar PRO Feature Image Auto Cropping to 200×200

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1270781
    Bill
    Participant

    Wordpress 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?

    #1270968
    Shelby
    Participant

    Hi 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 ๐Ÿ™‚

    #1270989
    Bill
    Participant

    Shelby, 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.

    #1271544
    Bill
    Participant

    Any other ideas?

    #1271942
    Shelby
    Participant

    Hey 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 ๐Ÿ™‚

    #1275052
    Shelby
    Participant

    Hi 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 ๐Ÿ™‚

    #1285702
    Support Droid
    Keymaster

    Hey 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Feature Image Auto Cropping to 200×200’ is closed to new replies.