Is it possible to have, on the album page with the thumbnails, the full size image represented by a thumbnail? That is, there would be no separate image.php page, as its functions would be incorporated into the album.php page. This would mean no navigation to an image page, as the user would just click on a thumbnail and see the full size image in an adjacent area of the same page.
Comments
So let us first define the terms. The image on image.php is not the full size image, this is the sized image.
If you want thumbnails together with this sized image the easier way would be to incorporate the thumbs in image.php. In that case please see here: http://www.zenphoto.org/support/topic.php?id=3156&replies=27#post-19082
>I'm looking to combine the functionalities of Album.php and Image.php
>List all the images in an album (as album.php) and display the first image of the >album in a scaled view next to the list then when someone clicks another thumbnail, I >want the page to reload and the scaled image to changed to the selected photo.
>Just copy the next_image() loop from your album.php page to image.php to achieve this.
Did you mean the while (next_album()) loop?
This far I have attempted both an iframe method (loads other test files, but apparently will not load the image.php file, even with the proper path indicated) and the method of copying the next_album loop into the image.php page.
What am I missing?
Did you mean the while (next_album()) loop?
No, that is for printing the list of the albums, not for the thumbnails of images in the album. If you copy the next_image() loop from album.php to image.php you get the thumbs of the images and the sized image on one page. There are detailed explanations on the thread I linked to above and linked within the thread.
To get a little more familiar with zenphoto themes please also take a look at our theming tutorial: http://www.zenphoto.org/2008/05/theming-tutorial/
What is Smugmug??
For instance, to go directly to the index.php page, all I need do is to specify:
www.somewebsite.com/zenphoto/albumname
What would the URL to the image.php file be?
TIA!
I've also been toying around with this layout (with no luck) in attempt to get a Smugmug-style album. I'd be curious if anyone has accomplished this...
-------------------------------------->
Old post, but I've been playing around with this. Here's what I have so far:
http://www.moto-treks.com/PhotoGallery/china/gsi_china_tour-1.jpg.php
Thanks!
`
if (GetNumSubalbums() > 0 ) {
echo htmlspecialchars(getAlbumLinkURL());?>" title="<?php echo $annotate;<br />
} else {
if(GetNumImages() > 0)
echo htmlspecialchars(getFirstImageURL()); ?>" title="<?php echo $annotate;<br />
}
...
`
What this does is link to the album page if there are subalbums or the image page (bypassing the album.php) if there are only images.