Problem with album modules

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Hereistos
Forum Members
Forum Members
Posts: 29
Joined: Sat Apr 11, 2009 12:42 am

Problem with album modules

Post by Hereistos »

Hey there,

I'm using the album module with about 70 pictures in an album and there are only a few images being display correctly, the rest is just "corrupted", see:

Image

what's the problem?

thanks!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Problem with album modules

Post by Dr.CSS »

The problem is you give very little info...

http://forum.cmsmadesimple.org/index.ph ... 661.0.html
dcleckley
Forum Members
Forum Members
Posts: 127
Joined: Fri Mar 06, 2009 2:13 pm

Re: Problem with album modules

Post by dcleckley »

Hereistos wrote: Hey there,

I'm using the album module with about 70 pictures in an album and there are only a few images being display correctly, the rest is just "corrupted", see:

Image

what's the problem?

thanks!
You should search the forum first.  There are many similar post to this.  I'd run into a similar issue and found it in this forum. 

You have not provided a lot of info...but import the templates provided in the module and try different ones.  See if that changes things for you.  Also, ensure that your pix have not been corrupted.  Check folder permissions too. 

Most of all, make sure that you provide more info to this post.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with album modules

Post by Rolf »

Hi Hereistos

You uploaded the images by FTP or File Manager, right?
There aren't any thumbs of them made this way. You get a similar view of the album you have.

Try to open the folder with the 70 images with the Image Manager and let it make your thumbs.
Perhaps re-make the album afterwards.

It should be ok now.

Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Hereistos
Forum Members
Forum Members
Posts: 29
Joined: Sat Apr 11, 2009 12:42 am

Re: Problem with album modules

Post by Hereistos »

OK thanks so far.

CMSms Version: 1.5.4
Album Modul: 0.9.3

Album-template:

Code: Select all

{* Include JS files. You can move this to the head of your page template if you want *}
<!--Thickbox ThickBoxWithPrev-Next stuff-->
<__script__ type="text/javascript" src="modules/Album/templates/db/js/jquery.js"></__script>
<__script__ type="text/javascript" src="modules/Album/templates/db/js/thickbox.js"></__script>


{if $pictureid !=0}

{* Big Picture *}
<div style="text-align:center">
<p class="bigpicturecaption"><strong>{$picture->name}</strong><br />
{$picture->comment}<br />
<span class="bigpicturenav">
{if $link.picture.previous}<a href="{$link.picture.previous}" title="Previous picture">< Vorheriges</a>{/if}
 <span class= "albumpicturecount">( Picture {$picturenumber}/{$picturecount} )</span> 
{if $link.picture.next}<a href="{$link.picture.next}" title="Next picture">Nächstes ></a></span>{/if}
</p>
<img src="{$picture->picture}" alt="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}"  title="{$picture->name|escape:'html'}  - {$picture->comment|escape:'html'}" />
</div>
{/if}

{* Album List *}
{if !$album}
<ul class="albumlist">
	{foreach from=$albums item=album}
	<li class="thumb">
 	<a href="{$album->link}">
<img src="{$album->thumbnail}" alt="{$album->name|escape:'html'}" title="{$album->name|escape:'html'} - {$album->comment|escape:'html'}"{$album->autothumbnailsize} /></a>

<p class="albumname">{$album->name}<br />
<span class="albumpicturecount">({$album->picturecount} images)</span><br />
<span class="albumcomment">{$album->comment}</span></p>
</li>
	{/foreach}
</ul>

{else}

{* Photo List *}
	{if $pagecount>1}
	<p class="albumnav">
		<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>
	</p>
	{/if}
<h3>{$album->name}</h3>
{$album->comment}
<ul class="picturelist">
	{foreach from=$pictures item=picturesrow}
	    {foreach from=$picturesrow item=onepicture}
	    <li class="thumb"><a href="{$onepicture->picture}" rel="{$album->name|escape:'html'}" class="thickbox" title="{$onepicture->name|escape:'html'} - {$onepicture->comment|escape:'html'}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name|escape:'html'} - {$onepicture->comment|escape:'html'}" title="{$onepicture->name|escape:'html'} - {$onepicture->comment|escape:'html'}"{$onepicture->autothumbnailsize} /></a>
   	   </li>

      {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
	    {/foreach}
	{/foreach}
</ul>
{/if}
{if $picture->id>0}
{/if}
<div style="clear:both"></div> 
I upload the images by using the filemanager since it's the only way to upload multiple files at once. The files have sizes about 1.3MB and even when opening the image-folder in the Imagemanager, the previewpics are not automatically created ...I don't know, but perhaps the filesize is too big to handle the resize since I've only some spare webhosting on strato...
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: Problem with album modules

Post by Russ »

Are the thumbnails actually being created, sometimes not because of rights issues? Try it with one image in a new gallery. Upload the image and with FTP see if the folder has a 'thumb_'  prefixed file as well as the original?

Not sure why you need such large images?

You could also try creating the thumbnails manually and uploading them with FTP , try it with one image first.
Hereistos
Forum Members
Forum Members
Posts: 29
Joined: Sat Apr 11, 2009 12:42 am

Re: Problem with album modules

Post by Hereistos »

the folder has 777-rights! some of the files are displayed with filesize=0bytes in my ftp manager but I don't know if that's just an error of my ftp-manager...

I'll try with another one and with smaller filesizes again.

And what's about the upload: Is it possible to upload multiple images with imagemanager and are the thumbs automatically created when just opening the folder with the images in the imagemanager!?
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: Problem with album modules

Post by Russ »

Yes the thumbs are automatically created, but many people create them manually and upload via FTP. This is because it allows you to create a better thumbnail of any size. If correct 0bytes is not a thumbnail...
stevegos

Re: Problem with album modules

Post by stevegos »

I agree with Rolf

i had this problem. I FTP'd the large images up and then added them to the album via the image manager. But it appears you have wait for image manager to create the thumb nails before checking the boxes to add to the album. 70 plus images can take a few minutes to generate the thumbs.

Also it better to have landscape format photos. If there are few portrait (upright) images it can mess up the thumb layout. You can of cours manually make the portrait thumbs yourself in to landscape format.

Hope that helps.

Steve
Hereistos
Forum Members
Forum Members
Posts: 29
Joined: Sat Apr 11, 2009 12:42 am

Re: Problem with album modules

Post by Hereistos »

Ok thanks, creating a new album with pics in smaller file size solves the problem! thanks a lot!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Problem with album modules

Post by Dr.CSS »

You had 2 basic problems...

1) the images you uploaded are too big, very rarely do you need an image in the 1.*mb range for anything on the web...

2) having so many images it's most likely you opened the folder and just hit the select all button and didn't wait to see all the little images on the left to show up, if you don't see those you don't get thumbs if you watch the first time you open a folder of large images in album you will see blank spots then they start to fill with little images, this is album making thumbs, don't wait long enuf and you don't get thumbs...
Post Reply

Return to “Modules/Add-Ons”