Events Made Easy › Forums › How do I … › Multiple location images? And thumbnails?
- This topic has 12 replies, 3 voices, and was last updated 13 years, 1 month ago by Franky.
-
AuthorPosts
-
Mon 14 Nov 2011 at 08:20 #43605AnonymousInactive
Hi guys 🙂
Could anyone tell me how to include multiple images per location? And also how would I run the standard image through the standard thumbnail cropper?
Basically, I need to be able to upload a small gallery for each location and specify a main image for list thumbnails…
Any ideas?
Mon 14 Nov 2011 at 08:25 #49030FrankyKeymasterUse a gallery plugin and use the gallery shortcodes for that, easier. Otherwise, just use the html editor as you would for a normal page.
For the “main” image: use an image of desired size and upload that one for the location, and use the correct placeholder to display that image.
Mon 14 Nov 2011 at 08:51 #49031AnonymousInactiveWell, what I normally do which I’ve found to be a really tidy way of working with galleries in WP, it to use the standard add image feature (but without inserting into post) and then using the function get_attachments in the theme to cycle through… Thus keeping it away from the content.
The problem with this method is there doesn’t seem to be a gallery for locations and images (although insertable) don’t attach to the posts.
And with the main image, are you saying it needs to be perfect size on upload? Most clients I work with wouldn’t know how to do a resize and crop I’m afraid 🙁 any way to run it through the thumbnail cropping scripts? Or maybe just set it as a featured image so I can work with it normally?
Mon 14 Nov 2011 at 09:10 #49032FrankyKeymasterI use the [wp_gallery] shortcodes inside a location/event description and it works just fine.
For the main image: use #_LOCATIONIMAGEURL and put your own html around it to reduce the size of the image to what you’d like:
<img src='#_LOCATIONIMAGEURL' width=xxx size=xxx>
Mon 14 Nov 2011 at 09:23 #49033AnonymousInactiveRighto sounds good to me 🙂
Last question then, can you recommend a plugin to supply that shortcode? I’ve tried many gallery plugins and never landed on one I was truly happy with?
Which one do you use for [wp_gallery]?
Mon 14 Nov 2011 at 11:11 #49034FrankyKeymasterTry this:
http://wordpress.org/extend/plugins/nextgen-gallery/
It’s [nggallery] btw (I can’t remember all shortcodes 🙂 )
Tue 15 Nov 2011 at 20:14 #49035AnonymousInactiveRighto, thanks 🙂
I have found an issue with this, I notice that you can access the location description only when creating the event, if you go in to edit it, the description wysiwyg editor is nowhere to be found…
Am I doing something wrong or is this maybe a bug?
Tue 15 Nov 2011 at 22:06 #49036FrankyKeymasterLocations are edited separately from events once they exist. The EME menu should show a link to edit locations.
Wed 16 Nov 2011 at 20:05 #49037AnonymousInactiveAfraid not Franky 🙁 – I obviously have the Events > Locations area, and in there I can create a new one (which is where I created the other ones and there is indeed a description area, but when I click one of the existing locations, there is no description area to edit…
Do you have any ideas on this one? without that area I can’t even use gallery shortcodes… if theres anything I can do to help the debug let me know 🙂
Wed 16 Nov 2011 at 20:27 #49038AnonymousInactiveUpdate:
Ahh, this may help with the diagnosis, but there is also no “save location” or the like so after you make an amendment to a location, you can’t store the changes… here is a screenshot you’ll see in the edit location area the last thing on the page is the map, when there should be a description wysiwyg box and a save button:
http://dl.dropbox.com/u/30288/Temporary/EME-Alton.png
Any ideas?
Wed 16 Nov 2011 at 21:52 #49039FrankyKeymasterIf the rich editor isn’t showing, something in your setup is preventing it. Look in your browser for javascript errors. Maybe send me a temp admin account so I can check it myself: liedekef@telenet.be
Thu 17 Nov 2011 at 07:44 #49040AnonymousInactiveI have same issue and I found a misspell in eme_locations.php (line 250),
<div id="eme-admin-location-map"</div>
Missing closing “>”
Thu 17 Nov 2011 at 08:11 #49041FrankyKeymasterYes, thanks for the heads-up! I’ll fix this in the trunk version this evening and release a bugfix version.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.