Posters displaying in Photo View

Home Forums Calendar Products Events Calendar PRO Posters displaying in Photo View

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #958271
    Simon
    Participant

    Hi,
    The images displayed when using the Photo View on the site appear a bit blurry but are fine when viewing the individual event posts – Are there any settings I should look at? Or any specific image sizes/types?
    Thanks
    Simon

    #958496
    George
    Participant

    Hey Simon,

    Is the site in question this one? → http://www.leapinghare.org/events/

    If so, then the issue seems to be a tough one to resolve – your images themselves are mostly on the smaller side of sizing, like this one for example → http://www.leapinghare.org/wp-content/uploads/2015/04/April-2015-val-audrey-exhibition-212×300.jpg

    The tribe_event_featured_image() function, which is what pulls in those very images, uses the ‘full’ thumbnail size within WordPress. As the name implies, this size is the full, un-cropped / un-edited version of the image, exactly how it is when you upload it.

    This has a few implications, which you’re noticing here with the bluriness and such. WordPress cannot “upsize” images, or make them bigger and clearer, so for images that are like this one, no solution would work as well as simply using a larger thumbnail image.

    Other options would be adjusting the grid size of the Photo View’s columns, making the columns thinner so that the images don’t have to take up as much space and can thus be a bit clearer / less-distorted. Or, you could make custom versions of The Events Calendar templates within your theme, and specify smaller WordPress image sizes like ‘thumbnail’ for the instances of tribe_event_featured_image() that you find in the files responsible for the Photo View.

    Both of these secondary options would unfortunately take a healthy amount of custom coding, but you can learn more about how to make these sorts of customizations by reading our official Themer’s Guide here → https://theeventscalendar.com/knowledgebase/themers-guide/

    I hope something here helps, Simon! Let us know if it does.

    Cheers,
    George

    #958511
    Simon
    Participant

    Hi,
    I’ll have a play with the uploads later and see what can be achieved – What was confusing to me was that opening an event as a single post the poster image is a lot sharper that the list view? I’ll try some other image sizes and let you know the result.
    Cheers
    Simon

    #958560
    George
    Participant

    Hey Simon,

    That is indeed some odd behavior. One thing that might help is if you customize the /views/pro/photo/single-event.php file in your Events Calendar PRO files and make this line of code:

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

    Look like this instead:

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

    Try this out – does it help for you?

    I’d recommend making these changes in line with the principles described in our official themer’s guide here → https://theeventscalendar.com/knowledgebase/themers-guide/

    Thanks!
    George

    #958820
    Simon
    Participant

    Unfortunately complete novice so coding may be out of my league just now – I will have a look though and see if I can sort it.

    #959014
    George
    Participant

    Thanks for the update Simon, keep us posted on what you’re able to implement here!

    Thanks,
    George

    #984122
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Posters displaying in Photo View’ is closed to new replies.