Home › Forums › Calendar Products › Events Calendar PRO › Event List Image Sizes (responsive issue)
- This topic has 5 replies, 3 voices, and was last updated 11 years, 8 months ago by
Barry.
-
AuthorPosts
-
July 29, 2014 at 2:47 pm #534366
beeskneesdance
ParticipantHi 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)
July 29, 2014 at 4:01 pm #534451Barry
MemberHi!
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?
July 29, 2014 at 4:23 pm #534476beeskneesdance
ParticipantThanks 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)July 30, 2014 at 9:30 am #540352Barry
MemberNot 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?
August 25, 2014 at 5:14 am #698341ddbuster
ParticipantI 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 adviseAugust 25, 2014 at 7:19 am #698502Barry
MemberHi 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!
-
AuthorPosts
- The topic ‘Event List Image Sizes (responsive issue)’ is closed to new replies.
