![]() |
|
thumbs in image.php; detect current image - 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: thumbs in image.php; detect current image (/thread-1411.html) |
thumbs in image.php; detect current image - protum - 2007-05-02 I've put thumbs in the image.php page no problem. But I'd like to apply a certain style (a border) only to the thumb thats also currently being displayed as a large image. all of the other thumbs from the album would not display the border. this seems like a very simple thing in php, but my php is very weak.. thumbs in image.php; detect current image - genial - 2007-06-27 I need to do this exact same thing. Also for the album list I need to style the active album differently from the rest. Anybody? thumbs in image.php; detect current image - sbillard - 2007-06-28 Not sure exactly what you mean--normally there are only thumbs, clicking on one goes to a new page. Maybe you should look at the SimpleViewer theme and see if it does what you want. thumbs in image.php; detect current image - genial - 2007-06-28 A theme can be modified to show thumbs along side the image.php page. See http://www.kerricushman.com/portfolio for an example of a client I'm working on. I need to be able to style the links of the albums differently for active albums and possibly for thumbnails too. Normally I would do that by making the album or thumbnail not a link and style it as such but with the current functions I can't do that. Not sure how to proceed... thumbs in image.php; detect current image - senne - 2007-10-17 I found this topic when I was searching the forum for my problem. The question in this topic is still unanswered. But I too am looking for a solution on active/current album. I've "hacked" zenphoto so my website displays not only a list of all albums on the indexpage, but also on the image- and albumpage. Now I would like to have a function that allows me to style the active album. For an example go to my website, which is still in development. This is the album "Backstage-Society": http://www.benvandenberghe.com/photo.php?album=d All albums are listed under the navigation-bar. What I want to do, is setting the background of the active album to red. Is this possible? Thanks in advance. thumbs in image.php; detect current image - acrylian - 2007-10-17 Generally getAlbumTitle() should give you the current selected album in album or image mode. Interessing solution by the way. I started a similar thing some weeks ago, but stopped because my client decided to have another layout. How did you do it? Do you override album.php and link directly to the first image or do you put the image.php stuff on album.php? thumbs in image.php; detect current image - senne - 2007-10-19 Thanks acrylian! This works perfect: http://www.benvandenberghe.com/photo.php?album=whiteboy- About the image.php stuff on album.php, I just searched the forum. I can't write PHP myself, that why. :-) |