Page 1 of 1

Album help [solved]

Posted: Sat May 19, 2007 10:36 am
by exmachina
Hi,

I have a problem with Album module : everyting seems ok, it shows albums correctly, but when cilcking on a thumbnail to show the image full size, the .js scripts don't work and instead of displaying an html page with the image inside, it displays the .jpeg file itself, as you can see if you choose "View source3 in your browser...
Here some links : I've tried different templates with no results ; I wonder what I am doing wrong  ???

Thanks in advance for helping,

Dany

Re: Album help

Posted: Sat May 19, 2007 6:49 pm
by Elijah Lofgren
It looks like the javascript files used to make the images pop-up big for thickbox are not readable:

http://www.studio-exmachina.be/modules/ ... hickbox.js
http://www.studio-exmachina.be/modules/ ... /jquery.js

Make sure you uploaded them. Also try doing a chmod 755 on them (so that the world can read them)

Hope this helps,

Elijah

Re: Album help

Posted: Sat May 19, 2007 7:55 pm
by exmachina
Thanks, elijah, it works fine  :)

this is a great galery module, thanks for working on it...

If you agree, I'll send apost on the french forum to transmit your solution, as I was not the only one to wonder why it didn't work.

thanks again and have a good day

Dany from Belgium

Re: Album help

Posted: Sat May 19, 2007 11:20 pm
by Elijah Lofgren
exmachina wrote: Thanks, elijah, it works fine  :)

this is a great galery module, thanks for working on it...
Good! You're welcome. :)

exmachina wrote: If you agree, I'll send apost on the french forum to transmit your solution, as I was not the only one to wonder why it didn't work.
That'd be great! Feel free to do so. Thanks!

Have a great weekend,

Elijah

Re: Album help [solved]

Posted: Sun May 20, 2007 12:49 pm
by exmachina
Elijah,

May I ask you another question ?

Where can I translate the navlinks (prev - next) on every big picture, and the "close or Esc" link ?
I've changed it in the default template, but it doesn't seem to work ?

Thanks in advance,

Dany

Re: Album help [solved]

Posted: Sun May 20, 2007 2:15 pm
by Elijah Lofgren
exmachina wrote: Where can I translate the navlinks (prev - next) on every big picture, and the "close or Esc" link ?
I've changed it in the default template, but it doesn't seem to work ?
Open modules/Album/templates/db/js/thickbox.js and look for these lines:

Code: Select all

http://viewsvn.cmsmadesimple.org/viewsvn/trunk/templates/db/js/thickbox.js?rev=313&root=album&view=markup

Code: Select all

TB_PrevHTML = "<span id='TB_prev'>  <a title='Shortcut: < key' href='#'>< Prev</a></span>";

Occurs about 3 times:

Code: Select all

<a href='#' id='TB_closeWindowButton'>close</a> or Esc Key
Hope this helps,

Elijah

Re: Album help [solved]

Posted: Sun May 20, 2007 3:10 pm
by exmachina
ok, done  :)

Thanks alot again, Elijah, this is a great job !

Have a good day

Dany