Album module version question

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Album module version question

Post by jasnick »

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
Last edited by jasnick on Tue Apr 23, 2013 2:20 am, edited 1 time in total.
iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

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"
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Album module version question

Post by jasnick »

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.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: Album module version question

Post by Jo Morg »

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!
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Album module version question

Post by jasnick »

Thank Jo - hope its soon! At least I know now its not ME doing something wrong!
iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

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
iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album module version question

Post by Dr.CSS »

@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...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album module version question

Post by Dr.CSS »

A new version is available, please let me know if it works...

http://dev.cmsmadesimple.org/project/files/167
iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album module version question

Post by Dr.CSS »

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;
}
iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

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"><<&nbsp;</a>
{if $link.page.previous}<a href="{$link.page.previous}" title="previous page"><&nbsp;</a>{/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next}<a href="{$link.page.next}" title="next page">&nbsp;></a>{/if}
<a href="{$link.page.last}" title="last page">&nbsp;>></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}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album module version question

Post by Dr.CSS »

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...
iceman688
Forum Members
Forum Members
Posts: 10
Joined: Mon Oct 01, 2012 8:52 pm

Re: Album module version question

Post by iceman688 »

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
Post Reply

Return to “Modules/Add-Ons”