Album module version question
Album module version question
Using CMSMS 1.11.5 and Album version 1.10.1 php = 5.3
Cannot get album to open and show thumbnails of images.
Using default template, {Album}on page and {Album action='metadata'} in page Options/meta data box. I have changed the size of the thumbnails to a larger size in Site Admin, but shouldn't have thought that would make any difference. In the Gallery admin, the thumbnails certainly look a bigger size its just that they won't open from the thumbnail on the gallery page. Also, the thumbnail on the gallery page looks the small default size.
On another site, using CMSMS 1.11.4 and Album 1.10-beta2 - no problems!
Same setup.
What am I missing here?
Thanks
Cannot get album to open and show thumbnails of images.
Using default template, {Album}on page and {Album action='metadata'} in page Options/meta data box. I have changed the size of the thumbnails to a larger size in Site Admin, but shouldn't have thought that would make any difference. In the Gallery admin, the thumbnails certainly look a bigger size its just that they won't open from the thumbnail on the gallery page. Also, the thumbnail on the gallery page looks the small default size.
On another site, using CMSMS 1.11.4 and Album 1.10-beta2 - no problems!
Same setup.
What am I missing here?
Thanks
Last edited by jasnick on Tue Apr 23, 2013 2:20 am, edited 1 time in total.
Re: Album module version question
I am having the exact same issue.
CMSMS 1.10.3
Album version 1.10.1
Error on site page when I click on any album is
"Warning: Parameter albumid is not known by module Album dropped in /home//web/lib/misc.functions.php on line 1590"
CMSMS 1.10.3
Album version 1.10.1
Error on site page when I click on any album is
"Warning: Parameter albumid is not known by module Album dropped in /home//web/lib/misc.functions.php on line 1590"
Re: Album module version question
Iceman688 - was hoping this post would be a solution
As we are using different CMSMS versions, it must be the Album version?
1.10-beta2 is perfectly fine on another of my sites.
As we are using different CMSMS versions, it must be the Album version?
1.10-beta2 is perfectly fine on another of my sites.
Re: Album module version question
Yep, there is an issue with Album version 1.10.1, and it will be solved soon AFAIK. In the meanwhile, if you can, revert back to beta.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Album module version question
Thank Jo - hope its soon! At least I know now its not ME doing something wrong!
Re: Album module version question
Thanks Jo,
The new version fixed issue however I have an album with 32 images and since update the images fail to wrap at 5 and I have one long string of pictures across site. Any ideas????
Tony
The new version fixed issue however I have an album with 32 images and since update the images fail to wrap at 5 and I have one long string of pictures across site. Any ideas????
Tony
Re: Album module version question
Also Jo,
seems to still be some issues with this module...
Warning: Parameter pictureid is not known by module Album dropped in /home/web/lib/misc.functions.php on line 1590
Tony
seems to still be some issues with this module...
Warning: Parameter pictureid is not known by module Album dropped in /home/web/lib/misc.functions.php on line 1590
Tony
Re: Album module version question
@iceman688
I would need to see the site to tell why it's not giving you 5 across, there is a new style sheet for Album links...
Jo Morg has been helping me, the last beta version wasn't cleaning parameters etc., but it seems it's still not quite finished/fixed...
I would need to see the site to tell why it's not giving you 5 across, there is a new style sheet for Album links...
Jo Morg has been helping me, the last beta version wasn't cleaning parameters etc., but it seems it's still not quite finished/fixed...
Re: Album module version question
A new version is available, please let me know if it works...
http://dev.cmsmadesimple.org/project/files/167
http://dev.cmsmadesimple.org/project/files/167
Re: Album module version question
10.3 fixed last parameter issue.
Thanx both of you. It does not address wrap issue. I am using tables template with changes made to support site colors and navigation so if you can see why wrap is missing now would help.
Tony
Thanx both of you. It does not address wrap issue. I am using tables template with changes made to support site colors and navigation so if you can see why wrap is missing now would help.
Tony
Re: Album module version question
I'm not sure what the HTML looked like before but it is a table with 1 tr full of TDs....
<table>
<tr style="height:100px;vertical-align:middle"> (1 of these)
<td style="border:1px solid #ECECEC;width:100px;text-align:center">img</td> lots of these
You could try this which only gives you 4 across, notice your TR is only 100px high...
td {
float: left;
margin: 0 10px 10px;
}
<table>
<tr style="height:100px;vertical-align:middle"> (1 of these)
<td style="border:1px solid #ECECEC;width:100px;text-align:center">img</td> lots of these
You could try this which only gives you 4 across, notice your TR is only 100px high...
td {
float: left;
margin: 0 10px 10px;
}
Re: Album module version question
This is current:
{* Include JS files. You can move this to the head of your page template if you want *}
<__script__ language="javascript" type="text/javascript" src="modules/Album/templates/db/js/SMRcode.js"></__script>
{if $picture->id>0}
<br />
<a href="{$link.picture.first}" title="first picture">First Picture</a>
{if $link.picture.previous}<a href="{$link.picture.previous}" title="previous picture">Previous</a>{/if}
| picture {$picturenumber}/{$picturecount} |
{if $link.picture.next}<a href="{$link.picture.next}" title="next picture">Next</a>{/if}
<a href="{$link.picture.last}" title="last picture"></a>
<br />
<a href="" onmouseover="SMR_setLink(this);" target="_blank"><img src="{$picture->picture}" alt="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" onload="SMR_resize(this, {$max_image_size});" title="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" /></a>
<div>{$picture->comment}</div>
{/if}
{if !$album}
<table>
{foreach from=$albums item=album}
<tr style="height:100px;vertical-align:middle; color:#008000;">
<td style="border:1px solid #ECECEC;width:100px;text-align:center">
<a href="{$album->link}"><img src="{$album->thumbnail}" alt="{$album->name|escape:'html'}" /></a>
</td>
<td style="border:none;width:500px;text-align:left">
{$album->name} <em>({$album->picturecount} images)</em><br />
{$album->comment}
</td>
</tr>
{/foreach}
</table>
{else}
{if $returnlink}<p><a href="{$returnlink}">Back</a></p>{/if}
{if $album->comment}<p>{$album->comment}</p>{/if}
<table>
{if $pagecount>1}
<caption style="text-align:center">
<a href="{$link.page.first}" title="first page"><< </a>
{if $link.page.previous}<a href="{$link.page.previous}" title="previous page">< </a>{/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next}<a href="{$link.page.next}" title="next page"> ></a>{/if}
<a href="{$link.page.last}" title="last page"> >></a>
</caption>
{/if}
{foreach from=$pictures item=picturesrow}
<tr style="height:100px;vertical-align:middle">
{foreach from=$picturesrow item=onepicture}
<td style="border:1px solid #ECECEC;width:100px;text-align:center">
<a href="{$onepicture->link}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->thumbnail}" /> </a>
</td>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
</tr>
{/foreach}
</table>
{if $picturecount==0}No image{/if}
{* Include JS files. You can move this to the head of your page template if you want *}
<__script__ language="javascript" type="text/javascript" src="modules/Album/templates/db/js/SMRcode.js"></__script>
{if $picture->id>0}
<br />
<a href="{$link.picture.first}" title="first picture">First Picture</a>
{if $link.picture.previous}<a href="{$link.picture.previous}" title="previous picture">Previous</a>{/if}
| picture {$picturenumber}/{$picturecount} |
{if $link.picture.next}<a href="{$link.picture.next}" title="next picture">Next</a>{/if}
<a href="{$link.picture.last}" title="last picture"></a>
<br />
<a href="" onmouseover="SMR_setLink(this);" target="_blank"><img src="{$picture->picture}" alt="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" onload="SMR_resize(this, {$max_image_size});" title="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" /></a>
<div>{$picture->comment}</div>
{/if}
{if !$album}
<table>
{foreach from=$albums item=album}
<tr style="height:100px;vertical-align:middle; color:#008000;">
<td style="border:1px solid #ECECEC;width:100px;text-align:center">
<a href="{$album->link}"><img src="{$album->thumbnail}" alt="{$album->name|escape:'html'}" /></a>
</td>
<td style="border:none;width:500px;text-align:left">
{$album->name} <em>({$album->picturecount} images)</em><br />
{$album->comment}
</td>
</tr>
{/foreach}
</table>
{else}
{if $returnlink}<p><a href="{$returnlink}">Back</a></p>{/if}
{if $album->comment}<p>{$album->comment}</p>{/if}
<table>
{if $pagecount>1}
<caption style="text-align:center">
<a href="{$link.page.first}" title="first page"><< </a>
{if $link.page.previous}<a href="{$link.page.previous}" title="previous page">< </a>{/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next}<a href="{$link.page.next}" title="next page"> ></a>{/if}
<a href="{$link.page.last}" title="last page"> >></a>
</caption>
{/if}
{foreach from=$pictures item=picturesrow}
<tr style="height:100px;vertical-align:middle">
{foreach from=$picturesrow item=onepicture}
<td style="border:1px solid #ECECEC;width:100px;text-align:center">
<a href="{$onepicture->link}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->thumbnail}" /> </a>
</td>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
</tr>
{/foreach}
</table>
{if $picturecount==0}No image{/if}
Re: Album module version question
I would change this...
<tr style="height:100px;vertical-align:middle">
<tr style="vertical-align:middle;"> all style calls need ; at the end
Then use the CSS I showed to get them to float left...
<tr style="height:100px;vertical-align:middle">
<tr style="vertical-align:middle;"> all style calls need ; at the end
Then use the CSS I showed to get them to float left...
Re: Album module version question
Thanks Mark,
I tried to edit but didnt have any luck. Guess I missed something.
Maybe you could tag lines that need edit as all mine are failing to wrap. At this point I would even settle for vertical row of single thumbs as horizontal just isnt gonna cut it.
Tony
I tried to edit but didnt have any luck. Guess I missed something.
Maybe you could tag lines that need edit as all mine are failing to wrap. At this point I would even settle for vertical row of single thumbs as horizontal just isnt gonna cut it.
Tony



