Events Made Easy › Forums › How do I … › Calling an image separately
- This topic has 12 replies, 5 voices, and was last updated 13 years, 2 months ago by
Franky.
-
AuthorPosts
-
Mon 15 Aug 2011 at 21:18 #43413
Anonymous
InactiveI need a way in which I can display an image associated with a post separately (as I wish to use a featured image as the header for each individual event, much like the ‘post-thumbnail’ feature).
I’ve been looking through your forum for a workaround and can’t find a solution.
I am able to display an image using the Custom Attribute feature, but how can I call on this attribute separately from the rest of the post (still within the loop ofcourse)?
Something along the lines of:
echo eme_attribute(‘key’)?
and how can I register a Custom attribute without having to put it directly in my ‘Default single event format’.
Would really appreciate some help with this!
Thanks!
Mon 15 Aug 2011 at 21:52 #48311Franky
KeymasterNot possible for now. A feature request has already been made for an event image. Workaround is indeed to use the custom attribute method. If you don’t want the attribute to show for single events, just put it in the “Default event list format” setting.
Tue 16 Aug 2011 at 05:17 #48312Anonymous
InactiveOk. Thank you for the quick response!
Mon 12 Dec 2011 at 18:19 #48313Anonymous
InactiveDaniel, were you successful with this workaround? I’m inclined to wait until the image attachment feature is available in a future release, but if you have any advice (or if I could see how you’ve done this on your site), I’d really appreciate it!
Tue 13 Dec 2011 at 11:41 #48314Franky
KeymasterFYI: the next version will have the feature to attach an image to an event like for a location.
Mon 19 Dec 2011 at 00:50 #48315Anonymous
InactiveFranky, any target date for the next release?
Mon 19 Dec 2011 at 13:34 #48316Franky
KeymasterReleasing it now would be possible, but I promised the custom-form feature as well, and that’s not finished yet. Meanwhile: you can use the development version if you can’t wait:
http://wordpress.org/extend/plugins/events-made-easy/download/
Sat 28 Jan 2012 at 06:23 #48317Anonymous
InactiveHi Franky!
I’ve now installed the development version and attached an image to the event. But how do I call it? I want to display a thumbnail (or the image) in the sidebar list widget. Is that possible?
Thanks!
Sat 28 Jan 2012 at 18:39 #48318Franky
KeymasterLike for locations: #_EVENTIMAGE and #_EVENTIMAGEURL
(added this to the changelog in readme.txt as well)
Mon 30 Jan 2012 at 10:12 #48319Anonymous
InactiveThanks!
What is #_EVENTIMAGEURL? Is it possible to somewhere (where?) in the event to specify an URL of an image, instead of uploading an image, to call for display?
Mon 30 Jan 2012 at 10:42 #48320Franky
KeymasterSee explanation for LOCATIONIAGEURL in the doc
Mon 30 Jan 2012 at 12:00 #48321Anonymous
InactiveYou mean here: http://www.e-dynamics.be/wordpress/?p=284
I’m afraid that didn’t help me 🙁
But I guess it’s not possible to call an image from an external URL, you just have to upload it and that’s fine! If the external URL possibility had been there I would have needed to resize it to a thumbnail size anyway and maybe that’s even harder.
Thanks for quick answers anda a good tool!
Mon 30 Jan 2012 at 12:34 #48322Franky
KeymasterHmmm … the doc there needs improvement 🙂
Anyway: the IMAGEURL just returns the http-link as text, so you can build your custom url’s with it (if you want another text pointing to the image or so …)
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.