Member
Member
Reda   2008-03-23, 02:41
#1
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
Member
Member
sbillard   2008-03-23, 02:50
#2
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.
Member
Member
Reda   2008-03-23, 13:44
#3
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!
Member
Member
sbillard   2008-03-23, 15:40
#4
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.
Member
Member
Reda   2008-03-23, 16:14
#5
Thanks!
Member
Member
sbillard   2008-03-23, 16:32
#6
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 "<img src=\"/".ZENFOLDER."/images/err-passwordprotected.gif\" height=\"".getOption('thumb_crop_height').`

and `printCustomAlbumThumbImage` line 1053
` echo "<img src=\"/".ZENFOLDER."/images/err-passwordprotected.gif\"".$sizing." />";`

The difference from what was there in both cases is the '`/`' after `img src=\"`
Member
Member
Reda   2008-03-23, 17:15
#7
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)?
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.