Help Getting Child Photo Path

davidrh

Joined: 2009-06-11
Posts: 4
Posted: Thu, 2009-06-11 01:11

I am trying to integrate Lightbox into the Default theme of Gallery 3.0. Does anyone know how I can get the path to the resized child images from the album.html.php file?

-David

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-06-11 04:05

There was some development with this you might get some ideas clues from:
http://markmail.org/thread/czf22bmj72a5f3t6 and search from there.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-12 08:36

Sure.. the value you want is $child->resize_path(). But you probably want the url, not the path on disk so that's $child->resize_url()

---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git