- This topic has 4 replies, 2 voices, and was last updated 7 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › EVENTIMAGE distorted
Tagged: eventimage
#_EVENTIMAGE shortcode used in Event Made Easy List WP widget results in distorted image.
The image returned obeys your CSS rules and all, so if you don’t want it distorted: change the css accordingly, or use #_EVENTIMAGEURL + own html-img tag and custom width/height …
This is what I was using prior to update 2.0.6 :
This works fine up until 2.0.2, I don’t know why it doesn’t work now with 2.0.6. I don’t really know how to alter the websites CSS rules to accommodate for this change. The thumbnail options weren’t the right size.
I think if I could get it to have a max width of 500px to 800px it would work… I think.
I was able to revert back to 2.0.2 until I can resolve this.
Any input would be greatly appreciated!
Ok, I thought of several things:
– first: indeed, the image behavior changed, but only in that way that the image returned by EME is now the one returned exactly as given by wordpress (this was not the case before)
– second: you have huge images there, consider using either some thumbnail format, or use a smaller image (look for #_EVENTIMAGETHUMB in the documentation: http://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/ )
– to get the default image as it used to be returned by eme, use this:
<img src="#_EVENTIMAGEURL">
Thanks!!
<a href="#_EVENTPAGEURL"><img src="#_EVENTIMAGEURL"></a>
I think this did the trick!
Much appreciated!