![]() |
|
New to Zenphoto : basic questions (and help !) - 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: New to Zenphoto : basic questions (and help !) (/thread-6959.html) |
New to Zenphoto : basic questions (and help !) - fohoizey - 2010-04-26 Hi there, I'm new to Zenphoto (I've just discovered it). That's a super great tool ! Congratulations and thanks for sharing it ! I've questions about it's functions : Google Maps plugin : - I've activated the Google Maps Extension but the map won't display on my pictures Do I need to add something to the image.php file of the defaut theme ?- My pictures contains no GPS datas. I would like to add the adress by myself. How to "give" this information to the Google Maps plugin ? Navigation : - How could I add a picture to the "previous" and "next" links ? - How to display all thumbnails of the gallery on the right side of each image on image.php ? Many thanks Cheers New to Zenphoto : basic questions (and help !) - acrylian - 2010-04-26 Welcome! Googlemaps: You will have to add GPS data to your pictures, otherwise the map does not know what to display. Please search the web for a tool to do that (can't recommend any as I don't use this myself) Navigation: Since you are new I recommend to read the theming tutorial on our user guide first to understand how themes work. New to Zenphoto : basic questions (and help !) - fohoizey - 2010-04-27 Well, thanks. I've read the Tutorial but still don't know how to add a picture to the previous and next links. I would like to add this function to the image.php to have it on photo pages (on this one for example http://www.nicetrotter.fr/galerie/nice/dsc_3573.jpg.html ) Any clue ? New to Zenphoto : basic questions (and help !) - acrylian - 2010-04-27 Here are the functions to use: http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionhasPrevImage http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionhasNextImage http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetNextImageURL http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetPrevImageURL http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetNextImageThumb http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetPrevImageThumb So in short something pretty straight forward like: `if(hasNextImage()) { echo '[img]'.getNextImageThumb.'[/img]'; }` Our functions are really named quite "speaking" as you see. So searching the documentation often helps quite a lot. New to Zenphoto : basic questions (and help !) - fohoizey - 2010-04-27 Wow thanks a lot. I hadn't seen the functions doc's. That rocks, thanks for your help. Everything seems to be working fine ! http://www.nicetrotter.fr/galerie/nice/dsc_3573.jpg.html |