V
vae victis
Guest
Hello everybody,
First I like the gallery's vrom TTG very much and so i bought the TTG HTML gallery and autoindex plugin.
But now i have a question :
I want to link the GPS data from my pictures from a gpslogger as the geoen plugin from friedl to google maps.
I had this working with the standard HTML gallery from LR with this piece of
code in the detail.html
Along with the solution of Rob Sylvan:
And in the GalleryInfo.LRweb file this piece of code for a extra datafield in the LABEL tab (Title, Caption and GPS)
This is because like this, i can use the Title option with text and not the GPS coordinates
But when i do this trick again (i'm a noob in programming) LR can't find the TTG Html gallery engine any more ????
With a slighty alterd code :
Can somebody explain this to me ?
First I like the gallery's vrom TTG very much and so i bought the TTG HTML gallery and autoindex plugin.
But now i have a question :
I want to link the GPS data from my pictures from a gpslogger as the geoen plugin from friedl to google maps.
I had this working with the standard HTML gallery from LR with this piece of
code in the detail.html
Along with the solution of Rob Sylvan:
Code:
local gpsData = string.gsub(image.metadata.title, "\"", " ") and
[url="http://maps.google.com/maps?q=$gpsData""]Map This![/url]
And in the GalleryInfo.LRweb file this piece of code for a extra datafield in the LABEL tab (Title, Caption and GPS)
This is because like this, i can use the Title option with text and not the GPS coordinates
Code:
["perImageSetting.description] = {
enabled = true,
value = "{{com.adobe.caption}}",
title = LOC "$$$/WPG/HTML/CSS/properties/ImageCaption=Caption",
},
["perImageSetting.title"] = {
enabled = true,
value = "{{com.adobe.title}}",
title = LOC "$$$/WPG/HTML/CSS/properties/ImageTitle=Title",
},
["perImageSetting.GPS"] = {
enabled = true,
value = "{{com.adobe.GPS}}",
title = LOC "$$$/WPG/HTML/CSS/properties/ImageGPS=GPS",
},
But when i do this trick again (i'm a noob in programming) LR can't find the TTG Html gallery engine any more ????
With a slighty alterd code :
Code:
["perImageSetting.caption"] = {
enabled = true,
value = "{{com.adobe.caption}}",
},
["perImageSetting.GPS"] = {
enabled = true,
value = "{{com.adobe.GPS}}",
},
