Event Image Size

Home Forums Calendar Products Events Calendar PRO Event Image Size

  • This topic has 0 replies, 2 voices, and was last updated 8 years ago by delacroix.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1499059
    delacroix
    Participant

    What is the suggest image size for the Featured Image for an event?

    #1499114
    juanfra
    Keymaster

    Hey Ryan,

    Thank you for reaching out! The featured image size is really dependent upon the layout of your event pages, largest available size of image available, etc. You can use the default WordPress image sizes by calling in ‘thumbnail’ or ‘medium’ for example. (see screenshot below)

    If you need to create a custom size for your event featured image, you could do that in your theme’s functions.php file and call that size for all your event’s featured images. More info on that can be found here.

    I hope this helps answer your question and let me know if you have any additional comments. Have a great Friday and thanks again for contacting us.

    Best,
    Juan.

    #1499264
    delacroix
    Participant

    Which size does the event use for the Image or list version of the event list?
    I am trying to make custom images so they don’t get cropped funky

    #1500118
    juanfra
    Keymaster

    Hi Ryan,

    Thank you for the follow-up.

    The image size that is used to print the image on the single event page is the ‘full‘ size, which is the original size of the uploaded image.

    The image size used for the list of events is ‘medium‘. That size can be changed directly from the screen I’ve shared with you in the previous message.

    If you want to change the sizes used in each case, you can do it by modifying the default templates in your theme. I’d recommend starting off by taking a look at our Themer’s Guide, which can show you which templates can be edited and copied in order to attempt the results that you are looking for. https://theeventscalendar.com/knowledgebase/themers-guide/

    The image for the single event page is printed in the file /wp-content/plugins/the-events-calendar/src/views/single-event.php, line 58

    The image for the event list is printed in the file/wp-content/plugins/the-events-calendar/src/views/list/single-event.php line 86

    They function used to print them is tribe_event_featured_image()

    Best,

    Juan.

    #1519283
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Event Image Size’ is closed to new replies.