Event List Image Sizes (responsive issue)

Home Forums Calendar Products Events Calendar PRO Event List Image Sizes (responsive issue)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #534366
    beeskneesdance
    Participant

    Hi there
    The event list seems to pull the featured images that are specifically scaled to 300px width. But the columns in photo view are able to become slightly larger than 300px. The css adjusts the images to be “width: 100%”, which means that the images get _scaled_up_, not down. This results in blurry images in the photo view… which isn’t ideal.

    Is there any way to get the Event Manager to use larger sized images in the list view? (I’m willing to do minor PHP modifications if instruction is given)

    #534451
    Barry
    Member

    Hi!

    Using a default theme the image is indeed downsized somewhat as the total width comes in just under 300px, when I test this out.

    That said there are a few ways to tackle this. One is a CSS tweak to narrow the width of those columns – but another could be to override the pro/photo/single-event.php template (full details on doing this can be found here) and find the following line:

    <?php echo tribe_event_featured_image( null, 'medium' ); ?>

    Within your customized version, simply change medium to large. Would that help here?

    #534476
    beeskneesdance
    Participant

    Thanks for the response.
    Would modifying the php in that location mean those changes would get overridden when updating? (if so i’d go with a css solution)

    #540352
    Barry
    Member

    Not at all, so long as you follow the guidelines in the Themer’s Guide (linked to in my previous reply) you should be good to go. If your theme is a commercial theme and any custom templates you place in there are at risk of being wiped upon update you could alternatively set things up from within a child theme and place your template overrides in there.

    Does that help?

    #698341
    ddbuster
    Participant

    I tried adjusting the featured image size as suggested to “large”.
    actual image size is unchanged at 243.594 no matter if set to “medium” or “large”.
    Please advise

    #698502
    Barry
    Member

    Hi ddbuster – please do create a new topic of your own and one of the team will be happy to help 🙂

    @beesknessdance – as it’s been quite a while I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create new threads as needed and we’ll do our best to assist!

    Thanks all!

     

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Event List Image Sizes (responsive issue)’ is closed to new replies.