Photo page as a GPS overview page?

slart

Joined: 2013-11-11
Posts: 112
Posted: Tue, 2014-08-12 07:40

Hi there,
how can I implement it, that in an album a photo page is represented as a GPS overview page of this album?

I have installed the modules:
- Gallery3:Modules:exif gps
- Gallery3:Modules:item iframes
Can I implement it with these modules?

 
slart

Joined: 2013-11-11
Posts: 112
Posted: Tue, 2014-08-12 14:12

Hm, OK, I will formulate my question differently.
I can upload a photo in an album and use the thumbnail for it.
How can I change the link in a thumbnail (Internet address) so that it points to the overview map of EXIF GPS?

Quote:
Photo Options -> Edit Photo -> Internet Address

If I change the link (Internet address), then an error message appears.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2014-08-12 14:54
slart wrote:
If I change the link (Internet address), then an error message appears.

You can change that link, but you're misunderstanding what it's for. That link is the web address you'd use to see the photo, NOT where you'd go to see something else.

slart wrote:
How can I change the link in a thumbnail (Internet address) so that it points to the overview map of EXIF GPS?

I'm not sure why you're doing this, but you can do it by editing your theme. Exactly where depends on the specifics of the theme you're using, but you can start by looking at what's likely a foreach loop in the theme's views>album.html.php file. If you only need to redirect photo thumbs (and not album thumbs, etc), then you'll need logic to check for that.

Depending on what you're doing, you may just want to create a new album that includes the GPS page links using the item_links module.
http://codex.galleryproject.org/Gallery3:Modules:item_links

If you need to create a new page and incorporate all custom code on the page, use the pages module.
http://codex.galleryproject.org/Gallery3:Modules:Pages

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-08-12 15:29

I need a better user story of what you want to do.

I can only assume:
you will add items that have GPS info.
one of the items will be a 'generic' item thatyou want to be a album cover/highlight that will link to a page that has a map of the items with pins linked to the item?

Do you have this map page generated already?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
slart

Joined: 2013-11-11
Posts: 112
Posted: Tue, 2014-08-12 15:55

Thank you for the interest.
The Modules:item_links already comes very close to my idea. I would like that this already on the Thumbnails has effect. Then I can create a special thumbnail, which will further into the albums and there link the EXIF GPS overview map. OK, i must make this manually, and it's ok.

My idea is: I would like, in addition to the links in the sidebar, insert a thumbnail in the albums and there link the overview map directly.

PS: I already have, with the Modules:item_iframes, involved in many albums a Google Maps with a route (kml). This can be nice to call over thumbnails and integrates perfectly with the albums. So it is even displayed in nav_carousel.

 
slart

Joined: 2013-11-11
Posts: 112
Posted: Wed, 2014-08-13 18:19

I have found a solution. There is no easy solution.
I upload a specially crafted image with text. ("Photo Overview in Maps")
Then I go into the database and exchange the link of the photo page with the link to the Overview page. Tata!
Can not there be a module for it, with another box in photo option, or something like that?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-08-13 23:31

http://codex.galleryproject.org/Gallery3:Modules:item_links

Still no user story to really understand what your after.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
slart

Joined: 2013-11-11
Posts: 112
Posted: Thu, 2014-08-14 07:03

Hm, OK, then I misunderstood, with the Modules:item_links.

Quote:
... to convert existing gallery items (albums/photos/movies) into links to external URLs.

I thought that was only for the photos on the photosite and not for the thumbs.
(I can not really English, but maybe I'll try to make the information understandable. item -> Thumbs. "Give the Thumbs a http:// provided link.")

It's about the same as I did it, only with an extra database table.

Is it a real "Redirect" with redirection, or a direct link?

Quote:
... that items page will be automatically redirected to the specified URL.

The solution with the Modules:item_links I can accept. Better and more beautiful would be if the EXIF GPS Overview map could be directly involved in the album, such as the photos. As with the Modules:item_iframes a Google Maps can be integrated.

Thanks for the help.

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Thu, 2014-08-14 11:21

I think I understand what you are getting at now. Normally an album thumbnail will be a selected photo from within that album. Instead of this, you want the album thumbnail to show a Google map with the GPS locations plotted on it for all images within that album.

So for example your top level albums might be divided into Continents, so you will put all your African photos in your Africa album, all the Asian photos in the Asia album etc. The Africa album will show a thumbnail of Africa will points of all the photos contained in it (and likewise for the Asia album). Then for example in your Asia album, you might have sub-albums for India, China, Japan,... with each containing their respective photos further broken down into state/province/region, then city. Each sub-album would show their corresponding (more zoomed in) map until presumably you get to a point where there are just a collection of photos in each city.

So you navigate your gallery by zooming in (from the top level) by clicking on the map of interest. I think that is what you want, but don't know how you could do that. My guess would be a combination of module and theme development.