Support

Home Forums Event Espresso Premium Calendar – display multiple images on one day

Calendar – display multiple images on one day

Posted: August 30, 2013 at 10:49 am

Viewing 3 reply threads


ndaniel

August 30, 2013 at 10:49 am

Thought I’d share a fix I found for this.
In the espresso-calendar/espresso-calendar.php file, I added a forced height to the image element. I set this to our thumbnail image height of 150px.
Adding this has fixed the cut-off/overlapped image problem we had where multiple events exist on the same day in the same calendar and each has an image.
Example below:

element.find(‘.fc-event-title’).after($(‘<span class=”thumb-wrap”></span>’));


ndaniel

August 30, 2013 at 10:51 am

example:
event.event_img_thumb + ‘” alt=”image of ‘ + event.title + ‘” height=”150px”


Elizabeth

August 30, 2013 at 1:21 pm

Did you add a revision in downloads or do i have to add the code fix?

Also did you see my issue with the stable not working after installing the BETA?


Josh

  • Support Staff

August 30, 2013 at 4:19 pm

The Beta version of the calendar makes use of a very similar method. Instead of using a hardcoded thumbnail size value it uses the thumbnail dimensions set in WordPress>Media Settings.

If you’re having trouble with the old calendar after testing the beta, you can reset the calendar options to clear out the new calendar options and set the old calendar defaults.

Viewing 3 reply threads

The support post ‘Calendar – display multiple images on one day’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso