I'm new on ZenPhoto and it seems to be not such features, I wish for me like: - Georeference photos by map-click (possible in some CMS-Ext.) - OpenStreetMap (instead GoogleMap-Ext.) or are some efforts in progress?
short add: one PlugIn offers OSM, <http://www.zenphoto.org/news/zp_mapembed> , but I can't find it after unpacking in ZP PlugIn-List so its not to activate. ... (act. ZP, just installed)
And is there a feature to add the GPS-data? In the picuture-menu, I can see the Exif-values, but they are not to edit?
The plugin just offers basic embedding and has no extra feaures. They are not planned and would require something else
There is a GoogleMaps plugin officially included that can georeference images but you have to embed the geo references into the image's meta data (EXIF).
Hey & thank you! I'm now on the way, I just activate the PlugIn - but don't know, what it means: It seems to me, that I have to copy the OSM- or GM-code from the PlugIn-file-tutorial-comment into the "codeblock"-field of an album- or image-menu? Or into the templates index-file? But nothing "happens" ... still figuring out ideas.
the PlugIn-files in this .zip-file are in a folder xy. Better the folder is named "plugin" (for me), because they all say "put all in the PlugIn-folder". ... that was my mistake.
zp_mapembed does not support any special features of Google Maps or OpenStreetMap. It is just meant to embed the map by url in the content of any item type of Zenphoto. You need the url of the map and copy it as explained on the plugins GitHub repository.
To use the APIs and for OSM the OpenLAyers would require a compeltely different approach this plugin was not meant to be. It was meant as a simple way to offer a simple way for business sites to include their location or similar.
What you need is the already included GoogleMaps plugins that - as said - will use geolocations if embedded into the images already. I like the idea of having a similar plugin for OSM - as it is open source and Google Maps is not - but sorry to say that has no priority for me right now.
the PlugIn-files in this .zip-file are in a folder xy.
If you download the plugin you get a zip file. Unzip that and upload its content to your install's /plugins folder. In this case that is the zp_mapembed.php file. Other plugins may also have an additional folder. You always upload the file and folder directly, not the unzipped folder.
anyway - a static-map was not, what I'm looking for.
> ... I like the idea of having a similar plugin for OSM - as it is open source and Google Maps is not - and its not only OSM's open source-thing: today its more detailed (and that's up to you) and together with e.g. <http://www.leafletjs.com> you have a great scope of features and other maps, even own grafics (I've a own scratch-map-tile).
> but sorry to say that has no priority for me right now. ... yes, sure - & thank you for the main-Google-PlugIn!
e.g. with Joomla, you extract a .zip-PlugIn just in the plugin-folder as target and its done. Its more plausible. And I can't see, where the plugin becomes "installed" by the user - just copied. I also stucked at this term. its my third or second ZenPhoto-day ...
But - like mentioned - first for me now is, how to **georeference single images**: So open or getting access to the *table-fields* EXIFGPSLatitude and EXIFGPSLongitude (...-Ref) for editing, by saving them at once into the *image-metadata* too.
On zp_mapembed you might need to use the codeview of the editor. The first OSM example indeed does not work because apparently at least my browser blocks the iFrame. Thte 2nd does works as you can see here: http://zenphoto.maltem.de/pages/page-1
As said I like the idea of a proper plugin. Still it is quite some work and has no priority for me.
e.g. with Joomla, you extract a .zip-PlugIn just in the plugin-folder as target and its done. Its more plausible.
It is this way for legacy reasons and for years already. Might be we change it some day but it adds overhead as we probably need to support both way so That is why it is explained on said page meanwhile.
And I can't see, where the plugin becomes "installed" by the user - just copied.
I don't know what you mean "where". It stays where you put it.
Again for the geo tagging the data must be embedded into the images itself via EXIF meta data. There is no facility for editing the tables other than directly doing it. Zenphoto read the meta data on importing.
> ...Zenphoto read the meta data on importing. I thought, its faster to read the data from the table and that's the reason, ZP stocks them there too (here the lat-, lon-data). Or may be for any further use?
But its better, to have one place to save data and the image itself is an obvious place.
Yes, that is why it stores the data in the database once an image has been imported. Afterwards only if you hit the refresh meta data. Of course you can use phpmyadmin or similar to edit the database directly, too.
Comments
one PlugIn offers OSM, <http://www.zenphoto.org/news/zp_mapembed> , but I can't find it after unpacking in ZP PlugIn-List so its not to activate. ... (act. ZP, just installed)
And is there a feature to add the GPS-data? In the picuture-menu, I can see the Exif-values, but they are not to edit?
http://www.zenphoto.org/news/using-plugins-and-third-party-features
The plugin just offers basic embedding and has no extra feaures. They are not planned and would require something else
There is a GoogleMaps plugin officially included that can georeference images but you have to embed the geo references into the image's meta data (EXIF).
I'm now on the way, I just activate the PlugIn - but don't know, what it means:
It seems to me, that I have to copy the OSM- or GM-code from the PlugIn-file-tutorial-comment into the "codeblock"-field of an album- or image-menu? Or into the templates index-file? But nothing "happens" ... still figuring out ideas.
the PlugIn-files in this .zip-file are in a folder xy. Better the folder is named "plugin" (for me), because they all say "put all in the PlugIn-folder". ... that was my mistake.
best, Joe
To use the APIs and for OSM the OpenLAyers would require a compeltely different approach this plugin was not meant to be. It was meant as a simple way to offer a simple way for business sites to include their location or similar.
What you need is the already included GoogleMaps plugins that - as said - will use geolocations if embedded into the images already. I like the idea of having a similar plugin for OSM - as it is open source and Google Maps is not - but sorry to say that has no priority for me right now. If you download the plugin you get a zip file. Unzip that and upload its content to your install's /plugins folder. In this case that is the zp_mapembed.php file. Other plugins may also have an additional folder. You always upload the file and folder directly, not the unzipped folder.
> ... It is just meant to embed the map by url in the content of any item type of Zenphoto.
ah, I see!
In the "description"-text-field, just copy one of this strings into it:
* a) [OPENSTREETMAP http://www.openstreetmap.org/?lat=43.1&lon=4.7&zoom=13&layers=M 100% 300 openstreetmap]
* b) [OPENSTREETMAP http://www.openstreetmap.org/export/embed.html?bbox=-11,14.5,56.4,67.4&layer=mapnik 100% 300 googlemap]
but the first a) doesn't work yet ... (basic-theme) it shows/gives the space, but not the map.
anyway - a static-map was not, what I'm looking for.
> ... I like the idea of having a similar plugin for OSM - as it is open source and Google Maps is not -
and its not only OSM's open source-thing: today its more detailed (and that's up to you) and together with e.g. <http://www.leafletjs.com> you have a great scope of features and other maps, even own grafics (I've a own scratch-map-tile).
> but sorry to say that has no priority for me right now. ...
yes, sure - & thank you for the main-Google-PlugIn!
e.g. with Joomla, you extract a .zip-PlugIn just in the plugin-folder as target and its done. Its more plausible. And I can't see, where the plugin becomes "installed" by the user - just copied. I also stucked at this term.
its my third or second ZenPhoto-day ...
But - like mentioned - first for me now is, how to **georeference single images**:
So open or getting access to the *table-fields* EXIFGPSLatitude and EXIFGPSLongitude (...-Ref) for editing, by saving them at once into the *image-metadata* too.
best, Joe
As said I like the idea of a proper plugin. Still it is quite some work and has no priority for me. It is this way for legacy reasons and for years already. Might be we change it some day but it adds overhead as we probably need to support both way so That is why it is explained on said page meanwhile. I don't know what you mean "where". It stays where you put it.
Again for the geo tagging the data must be embedded into the images itself via EXIF meta data. There is no facility for editing the tables other than directly doing it. Zenphoto read the meta data on importing.
I thought, its faster to read the data from the table and that's the reason, ZP stocks them there too (here the lat-, lon-data). Or may be for any further use?
But its better, to have one place to save data and the image itself is an obvious place.