Member
Member
room203   11-04-2007, 19:43
#1

I do not have, nor wish to have extensive CSS and PHP knowledge.

I would just like to know if ZenPhoto can be customized to look like this:

http://www.room203.net/image/canitbedone.jpg

Thanks.

Member
Member
Chilifrei64   11-04-2007, 20:22
#2

absolutely.. but you will need knowledge of php and css to make it happen..

Member
Member
Stephane   12-04-2007, 00:48
#3

Definitely possible.

Member
Member
room203   12-04-2007, 07:09
#4

OK I got the image page to look like that, but is it possible to navigate to the first image of an album when the thumbnail for that album is clicked from the index?

This is where I'm building it:

http://pulchraphy.room203.net/gallery

As you can see, when you click on a thumbnail, it goes to the album.php which I don't want to use.

it will be integrated into a wordpress site later. the pictures are just test images and I still have to fine tune the widths and such.

Member
Member
Stephane   16-04-2007, 01:19
#5

I actually wrote a function for that because I needed it too. My PHP isn't all that great, but this works for me:

`function getAlbumFirstImageURL() {

global $_zp_current_album, $_zp_current_image;

$firstimage = $_zp_current_album->getImage(0);

if (in_context(ZP_IMAGE) && $_zp_current_image->getAlbumPage() > 1) {

// Link to the page the current image belongs to.

return rewrite_path("/" . urlencode($_zp_current_album->name) . "/page/" . $_zp_current_image->getAlbumPage(),

  "/index.php?album=" . urlencode($_zp_current_album->name) . "&page=" . $_zp_current_image->getAlbumPage());

} else {

return rewrite_path("/" . urlencode($_zp_current_album->name) . "/" . urlencode($firstimage->getFileName()),

  "/index.php?album=" . urlencode($_zp_current_album->name) . "&image=" . urlencode($firstimage->getFileName()));

}

}`

Put this in your template-functions.php and use `` to access it.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.