Geotagging within frontend upload form

Phoca Gallery - image gallery extension
bjoernp
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 May 2011, 15:05

Geotagging within frontend upload form

Post by bjoernp »

Hi,
any idea how I can enter the geotagging fields and selection button to the upload form?
I would like to enable users to set the coordinates already when they upload pictures.
Thanks, Bjoern
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Geotagging within frontend upload form

Post by Jan »

Hi, this needs to be customized, the form must be changed here:

components\com_phocagallery\views\user\tmpl\default_uploadform.php

then the controller and model of ucp must be customized too:

components\com_phocagallery\controllers\user.php
components\com_phocagallery\models\user.php

Jan
If you find Phoca extensions useful, please support the project
bjoernp
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 23 May 2011, 15:05

Re: Geotagging within frontend upload form

Post by bjoernp »

Ok, I have managed to add the geotagging fields in the upload form and the contents is stored within the DB.

now I'm struggling with showing the map in the lightbox for selecting the geotagging information. The lightbox opens, but I'was so far not able to open the map within (trying now for a wile to implement this).

any hints how the map can be shown?

thanks and regards, bjoern
Post Reply