Support » Plugin: Events Manager » How to resize or use resized images?

  • Resolved peterallcdn

    (@peterallcdn)


    Hello,

    How can I create resized images, or at the very least use already resized images with Events Manager?

    Using #_EVENTIMAGE{300,300} doesn’t actually produce a resized image and it doesn’t appear to grab an image resized by wordpress. I don’t see any way of getting/displaying a resized version of the featured image which could make Events Manager very heavy due to large image files.

    I don’t want to use Photon for various reasons such as caching issues. Can you recommend an image resizing plugin that will work with Events Manager?

    Can you not add image resizing to Events Manager?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Okay, I think I found a workaround.

    I’m using the Toolset Views plugin to resize and display the featured image by placing the following shortcode in the Events Page formatting section. Thankfully it appears that placeholders are parsed before shortcodes so I’m able to pass post ids to the shortcode…

    [wpv-post-featured-image size=”custom” width=”300″ height=”200″ crop=”true” id=”#_EVENTPOSTID”]

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Another option would be to create an additional WordPress image size that corresponds with the size you want to use with #_EVENTIMAGE. That will make WordPress create a resized image when the image is uploaded.

    https://developer.wordpress.org/reference/functions/add_image_size/

    Thanks,

    I had to go with your recommendation in the end as I found the shortcode I was using to display the thumbnails didn’t work inside [events_list]…[/events_list] shortcodes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to resize or use resized images?’ is closed to new replies.