Page 1 of 1

album problem...pic2 pops up pic1 java error

Posted: Sat Aug 19, 2006 9:11 pm
by corvus
I am using album version 0.6.0
CMS Made Simple 0.13 "Canary"

I made some albums all ok
Now I made one more and when I intergrate it in the page the popup doesn't work.

When I add a picture (different size) from another dir to the album then THAT one does popup  :-\

here is the site http://www.boshoverbeek.nl/BBKsItE/index.php/test
left picture doesn't pop up
right picture does.


Can someone please help ??

Re: album problem...pic2 pops up pic1 java error

Posted: Sun Aug 20, 2006 3:18 am
by Dr.CSS
You must be using IE, I had to use it to find the problem, because Ff works fine, I did notice the first one has a - in the name, don't know if it matters, and it also has no second size, height.

Re: album problem...pic2 pops up pic1 java error

Posted: Sun Aug 20, 2006 7:02 am
by Elijah Lofgren
corvus wrote: I am using album version 0.6.0
CMS Made Simple 0.13 "Canary"

I made some albums all ok
Now I made one more and when I intergrate it in the page the popup doesn't work.

When I add a picture (different size) from another dir to the album then THAT one does popup  :-\

here is the site http://www.boshoverbeek.nl/BBKsItE/index.php/test
left picture doesn't pop up
right picture does.
As mark guessed, it was an IE problem with having "-" in the popup title. I have released a new version of Album that removes "-", "(", and ")" from picture titles because IE chokes on them.

You can download Album 0.7.0 here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=582

Hope this helps,

Elijah

Re: album problem...pic2 pops up pic1 java error

Posted: Sun Aug 20, 2006 8:16 am
by Russ
Mmm if you are talking about the Thickbox or Thickbox with Next and Prev templates then that was probably me. Apologies.

The ul class for both should probably looks like this (without the dashes '-')

Code: Select all

<ul class="picturelist">
	{foreach from=$pictures item=picturesrow}
	    {foreach from=$picturesrow item=onepicture}
	    <li class="thumb"><a href="{$onepicture->picture}" class="thickbox" title="{$onepicture->name} {$onepicture->comment}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name} {$onepicture->comment}" title="{$onepicture->name} {$onepicture->comment}" /></a>
   	   </li>

      {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
	    {/foreach}
	{/foreach}
</ul>
This doesn't seem to have changed in the 0.7 download? Perhaps you were talking about something else?
Also did you see my other post:
http://forum.cmsmadesimple.org/index.ph ... l#msg33704

Russ

Re: album problem...pic2 pops up pic1 java error

Posted: Sun Aug 20, 2006 1:11 pm
by Elijah Lofgren
Russ wrote: This doesn't seem to have changed in the 0.7 download? Perhaps you were talking about something else?
Also did you see my other post:
http://forum.cmsmadesimple.org/index.ph ... l#msg33704
Yes, I was talking about the Popup-Tables template.
Sorry I didn't add your new template. I've filed a feature request and will hopefully remember to add it before the next release of Album: http://dev.cmsmadesimple.org/tracker/in ... 7&atid=728

Re: album problem...pic2 pops up pic1 java error

Posted: Sun Aug 20, 2006 7:40 pm
by corvus
Elijah Lofgren wrote:
corvus wrote: I am using album version 0.6.0
CMS Made Simple 0.13 "Canary"

I made some albums all ok
Now I made one more and when I intergrate it in the page the popup doesn't work.

When I add a picture (different size) from another dir to the album then THAT one does popup  :-\

here is the site http://www.boshoverbeek.nl/BBKsItE/index.php/test
left picture doesn't pop up
right picture does.
As mark guessed, it was an IE problem with having "-" in the popup title. I have released a new version of Album that removes "-", "(", and ")" from picture titles because IE chokes on them.

You can download Album 0.7.0 here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=582

Hope this helps,

Elijah
YES great !
I changed the name and all is fine now.

How do I install a new version ? Without destroying anything old ??? (I know it doesn't resolve the '-' problem. But for future versions ;-)

Re: album problem...pic2 pops up pic1 java error

Posted: Sun Aug 20, 2006 9:24 pm
by Elijah Lofgren
corvus wrote: How do I install a new version ? Without destroying anything old ??? (I know it doesn't resolve the '-' problem. But for future versions ;-)
Actually the new version should fix your '-' problem.

Just overwriting the files in your current Album install should work fine (you can upgrade via XML also). All your Album data is stored in the database so you won't need to worry about overwriting that (of course it's a good idea to make backups of your DB before upgrading).