ZenphotoCMS Forum
Icon in album with password - 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: Icon in album with password (/thread-1653.html)



Icon in album with password - Reda - 2008-03-23

Hi,
I have two albums with two different passwords. Once I log in in one of the albums I cannot see the "locked icon" in the second album (it looks like is always loading). Is that normal behaviour?

Thanks in advance for your help.

-Reda




Icon in album with password - sbillard - 2008-03-23

That is not the behavior I am seeing. Are you sure the albums have different passwords?

perhaps you could provide a link to your site and one of the passwords.




Icon in album with password - Reda - 2008-03-23

Hi,
I'm sorry the description of the problem was wrong because I changed the password of one album (so I'm logged out of all password protected albums) and the problem is that albums in second page do not show any icon... The gallery is

http://www.reda-ek.com/gallery/

it's strange because the link seems to be correct but the image is not there although it was loaded in page 1. Thanks in advance!




Icon in album with password - sbillard - 2008-03-23

Well, I see the failure. Not sure at the moment what is wrong, but I can reproducd the failure. Seems the locked icon does not display on page 2. I will research it and find a solution. Thanks for pointing this out.




Icon in album with password - Reda - 2008-03-23

Thanks!




Icon in album with password - sbillard - 2008-03-23

I have found the fix (although I still don'k know why what was there did not work.) It will be in tonight's build most likely. If you are adventuresome, you can make the change your self in template-functions.php. There are two places to chanage depending on theme:

printAlbumThumbImage line 988
` echo "




Icon in album with password - Reda - 2008-03-23

yes you're right, it was the path... I don't know why it was working on page one thought. Anyway, your fix unfortunately did not work for me. I had to add /gallery/ as a temporary fix. Is there a better fix (i.e. a variable instead of ZENFOLDER that takes /gallery/ into account)?