![]() |
|
image default title - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: image default title (/thread-7025.html) |
image default title - gjunk - 09-05-2010 If I create a folder in albums directroy which contains a bunch of images, zen brilliantly picks them up in as an album and gives it the same name as the directory. However, the individual images show up in the navigation top part all with the same name - which is the name/model of the camera used to take the pic ... Is there a way to have this default just be the file name instead ? (Using svn 5398) Speaking of navigation - is there some way to have a navigation tree so it is simple to jump to any part of the album website ? Soemthing like (+) Top-1 gene/ image default title - sbillard - 10-05-2010 Your question is not so clear, but I will try to answer it anyway. The nav links generally use the image title for the text. Titles are defaulted to the image name, but easily changed either by metadata in the image or by editing the data on the zenphoto back end. There is a menu management system as part of the 1.3.0 release which might give you what you are looking for for the navigation. image default title - acrylian - 10-05-2010 Also currently there is the separate print_album_menu plugin. image default title - gjunk - 10-05-2010 Sorry it wasnt clear - thanks for your help - I will try clarify : (1) I am using the svn trunk updated as of version 5398 which was last night. (2) I did a fresh install. (3) I copied a file tree of albums into the albums directory of the install. (4) the 'name' given to each image was not the filename of each image as I expected but rather the camera name/model presumably extracted from exif data. (5) I'd prefer it to default to the name of the file which is at least unique in the album. (6) I turned on the print_album_menu plugin - under options I tried with the default and with level set to 2 - in neither case did anything change on the zen album pages .. nothing at all visible (am using google-chrome on linux ... perhaps this plugin does not work when browser is linux/chrome ?) Thanks for guidance - gene - really trying to convert from gallery !! image default title - acrylian - 10-05-2010 (4) / (5) I have far memory that a similar issue has been reported by another user and seems related to a camera not following hte exif standard. Search the forum please. The name of an images is always its filename (the title is independend). (6) Not all plugins are supported by all themes as written on top of the plugins tab. You may need to add the function yourself. The Zenpage theme has support for it by default. It has nothing to do with browsers. image default title - gjunk - 10-05-2010
gene/ image default title - acrylian - 10-05-2010
image default title - gjunk - 10-05-2010
image default title - acrylian - 10-05-2010 Well, maybe try a reupload then. See our demo how it should look like (the gallery part in the sidebar). image default title - Blue Dragonfly - 10-05-2010 gjunk - if the problem is the camera putting the wrong information in the EXIF header, maybe there is a firmware update for your camera to correct this? I can see how that problem would be very frustrating, but it sounds like zenphoto is doing the correct thing, but reading the incirrectly-set file data. You could execute a single SQL query to update the image titles by setting them to the filename wherever the current title is the camera make/model that's currently incorrectly there. That will fix up the 2,000 or so images in a couple of seconds, if that. Of course, you'd still have to take care of new images as they are added, and that's no fun. Does your image editing software let you bulk-edit EXIF data? You might be able to correct your images that way also. image default title - gjunk - 10-05-2010 Ah good ideas - I will poke around the mysql database and see what I can do ... yeh it would be nice if zen made it an option for dorked out exif data to alternatively use the filename ... My image editing software is gimp. gene/ image default title - gjunk - 10-05-2010 I'll go find the demo and see what its supposed to look like ... You thinking I might do a fresh install with a new database (or prefix) ? image default title - acrylian - 10-05-2010 [i] yeh it would be nice if zen made it an option for dorked out exif data to alternatively use the filename ...[/i] A new database should first not be necessary for a reinstall. image default title - gjunk - 10-05-2010 Is the menu the part on the demo on the right side bar that has
I dont have any sidebar at all! image default title - acrylian - 10-05-2010 Then you probably do not use the Zenpage theme (Zenpage plugin != Zenpage theme) image default title - gjunk - 10-05-2010
Plugins which are on are: gene image default title - gjunk - 10-05-2010 Also - I checked the webserver log for errors as well just in case - but I found none. gene image default title - gjunk - 10-05-2010 resounding DUH on me (feel free to pile on the DUH's :-) ... you are 100% correct .. the default theme iz different than the zenpage them .. heh heh ... ok ok .. I am blind for missing that ... i did assume the default them was the right one ... silly me ... Now it looks really different .. and much nicer too ;-) image default title - sbillard - 10-05-2010 Of course we actually have such an option. But of course, since the dorking will be situation dependent you will have to code the correction. Review the Zenphoto plugin architecture guide and pay particular attention to the filters. There is one that gets invoked when new images ar discovered that you should be able to use to correct any bad data. image default title - Blue Dragonfly - 10-05-2010 Good idea, using a filter. OBviously coding per-camera make & model exceptions into zenphoto to accommodate bad EXIF implementation would be band-aid workaround when the problem is the camera itself - that said, it's still a pain for people who have a misbehaving camera as the main source of photos for their site. A custom filter would be ideal, in that it would detect the bad EXIF data and correct it seamlessly without the uploader having to worry about or remember it every time they add new photos, and would also not require hacking the core files and re-applying the hack each time a new version is released. |