![]() |
|
Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - 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: Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video (/thread-1569.html) |
Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - aitf311 - 28-07-2007 If you are looking for ZenPhoto with ZenVideo, Google Maps Integration and RSS applied to the latest SVN (441) you are in luck! I have prepared the package using the code available on trac and this forum. Download: Removed (incorporated into SVN) Note: these functions are available on any theme, but google maps integration and EXIF have only been applied to the 'default' and 'default-dark' themes. Getting these new functions to work in your themes: Google Maps Integration (images need to be geotagged) The following line goes in your images.php file: EXIF Display - The following line goes in your images.php file: RSS Link - Goes wherever you want it to go and requires customfunctions.php and rss.php ZenVideo discussion: http://www.zenphoto.org/support/topic.php?id=795&replies=82 This download incorporates fixes for the following tickets: 98, 82, 78, 7 Enjoy! Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - AmbitiousLemon - 29-07-2007 You rock! Thanks. Its working for me at www.gnomadic.org (only geo-coded the washington DC pics). It is putting the pin in the wrong location for the coordinates contained in the XIF data. Any idea why? How do we set the map type? (street, satellite, hybrid) Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - aitf311 - 29-07-2007 Ambitious Lemon: I really cant provide support for this since I didnt write it, I just put everything together. I am not sure why your pictures are showing up in incorrect places. I geocoded mine using picasa + google earth and they came out exactly where I tagged them in google earth. But I did check your image out in my google earth and it came out exactly where you said it should. Also, you might want to download the zip file again and grab the new template_functions.php it fixes an issue where videos were trying to export exif info. Documentation for the mapping file: http://www.systemsevendesigns.com/phoogle Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - AmbitiousLemon - 29-07-2007 Ah thanks for the tip, uploaded the new template_functions.php file. I downloaded some geotagged images from other zenphoto galleries with this hack (ones that were working) and they worked on my gallery as well. So I am just tagging the files incorrectly somehow. I've tried a few different apps to geo tag them and it always comes out the same. Maybe someone else will have a wise idea. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - dspnorman - 30-07-2007 AmbitiousLemon, We're not sure why this is happening, but it appears your problem with map pins in the wrong location is related to the encoding method used to store the GPS data in your images. Some cameras store EXIF in "Big Endian" format, some use "Little Endian" (top-down or bottom-up byte order). It seems the that geotagging with Google tools can in some cases result in images which are Big-Endian containing GPS data which is Little-Endian. The EXIF parser included in these patches is unable to tell the difference, and parses the data as Big-Endian, rendering scrambled coordinates. You should find that images which display correctly on your map are from a different make of camera than the ones that do not. So far, I can report that Canon images work, and Sony ones appear not to in some cases. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - mannkind - 30-07-2007 To confirm dspnorman's statements: As far as we can tell the problem has to do with the original Endian-ness of the EXIF data and the Endian-ness of the GPS data written to into the EXIF data. EXIF has a 'flag' of sorts that state if it is Little or Big Endian. If the tool used to encode the GPS data ignores that, you'll end up with your map points in vary strange places. The EXIF library reads the 'flag' and decodes the EXIF data accordingly. If the GPS data isn't written in the same Endian-style, you'll get strange coords. It isn't the parers fault (afaik), it reads the endian-ness of the EXIF correctly. I have an example image at: View the page and notice that I have a debug statement "Endian as defined in EXIF: Intel". Now download the full image, and geocode it somewhere. Put it in your own gallery and notice that it shows up correctly. dspnorman has confirmed that he can geocode my image and it'll work correctly. Now take a look at: Someone has posted something about Exif byte-order problems at the following URL: Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - mannkind - 30-07-2007 Another note: Are you using anything before geocoding the images to edit EXIF data? IIRC, dspnorman had stripped out his EXIF data before geocoding which may have done something to change the byte-order for the EXIF data. I would like some data about the images you are trying to geocode:
Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - AmbitiousLemon - 30-07-2007 Well that seems like a possible explanation. I don't know how to check the Endian-ness of the files. I tried half a dozen different applications and none of them give that sort of information. Do you have any recommendations on how to check this? (OSX). The files appear to have been converted to JPEG, but I don't know what software was used to do this. The EXIF info is: Exif Properties
GPS Properties
IPTC Properties
JFIF Properties
TIFF Properties
So I also can not find any application that allows me to remove the geocoded EXIF tags. Any ideas on this? I tried setting the tags with a variety of different applications, but they all did the same thing. Are there any applications that can do this properly? - If not its probably best to change the phoogle code to be able to read these files regardless of the Endian formatting (like every application I have tried seems to be able to do). The trouble I am in now is that:
Ideally I would be able to find an application that can geocode images properly, runs on OSX (Intel and PPC), works for any camera (since my photos will be taken on many different camera), and doesn't matter if it was processed initially with with something like lightroom or aperture first. This is because my photos are taken by many different people with their own cameras and geocoded on their own computers (I don't know anyone who uses windows though so no need for a windows solution). Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - mannkind - 30-07-2007 @AmbitiousLemon Gallery2 also uses Exifixer. Currently they are looking to move to another Exif parser simply because Exifixer has a lot of problems. I think I am going to checkout some of the suggested alternatives (on the Gallery2 wiki) to Exifixer when I get home from work. Perhaps I can work something up with minimal changes to the core Zen Exif code. The apps I use on OS X are HoudahGeo and GPSPhotoLinker and they work fine. I wouldn't worry about your images for now. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - AmbitiousLemon - 31-07-2007 @mannkind It would be great if you could find a more mixed endian friendly exif parser. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - mannkind - 31-07-2007 @AmbitiousLemon Last night I spent some time trying other parsers and I'm not all that impressed with any of them. So I turned my eyes back to Exifer. I think I found the problem. I sent the fix to dspnorman and I can send it to you if you'd like to test. Let me know Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - AmbitiousLemon - 01-08-2007 I'd be happy to test it. You can email it to me at jbanks@ambitiouslemon.com Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - dspnorman - 01-08-2007 Just applied mannkind's patch, and my problem images now display correctly on the map. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - trisweb - 02-08-2007 mannkind - good to hear you fixed the bug in Exifixer - It may be clunky, but it is well written I think and easy to hack/fix. That's part of the reason I adopted it. This is a good package. I may just patch it all into SVN after testing... Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - mannkind - 02-08-2007 @AmbitiousLemon @trisweb Glad you like the package! I'm also glad it has gained some momentum. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - AmbitiousLemon - 02-08-2007 gps patch tested and working perfectly here. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - jordi-kun - 02-08-2007 I've been using Exifier for a couple days but found that Panasonic's MakerNote tag is not parsed. Since I created it, I though that anyone might be interested. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - thinkdreams - 02-08-2007 @jordi-kun By all means we'd love to see it. Anything to improve the useability of the EXIF parsing is OK by us. Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - jordi-kun - 02-08-2007 here are the 2 changes.
`} else if(eregi("PANASONIC",$make)) {
`` Zenphoto Download W/ Maps, RSS, EXIF, Subalbums & Video - dspnorman - 02-08-2007 jordi-kun, can you diff your changes against the current SVN version of exif.php, and post a patch on Trac? If you could include the panasonic.php maker file, too, that would be helpful. |