Page 1 of 1
Problem with album modules
Posted: Sat Apr 25, 2009 7:06 pm
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:
what's the problem?
thanks!
Re: Problem with album modules
Posted: Sat Apr 25, 2009 8:36 pm
by Dr.CSS
Re: Problem with album modules
Posted: Sun Apr 26, 2009 12:15 am
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:
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.
Re: Problem with album modules
Posted: Sun Apr 26, 2009 7:46 am
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

Re: Problem with album modules
Posted: Sun Apr 26, 2009 8:50 am
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...
Re: Problem with album modules
Posted: Sun Apr 26, 2009 8:56 am
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.
Re: Problem with album modules
Posted: Sun Apr 26, 2009 9:02 am
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!?
Re: Problem with album modules
Posted: Sun Apr 26, 2009 9:06 am
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...
Re: Problem with album modules
Posted: Sun Apr 26, 2009 10:00 am
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
Re: Problem with album modules
Posted: Sun Apr 26, 2009 5:27 pm
by Hereistos
Ok thanks, creating a new album with pics in smaller file size solves the problem! thanks a lot!
Re: Problem with album modules
Posted: Mon Apr 27, 2009 1:58 am
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...