Larger thumbnails with 1.2.1 and album 0.9.2 [solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
SuperScorp
Forum Members
Forum Members
Posts: 11
Joined: Wed Nov 28, 2007 6:13 pm

Larger thumbnails with 1.2.1 and album 0.9.2 [solved]

Post by SuperScorp »

Hi all,

Thanks to the forum and docs, I've now got my dev install creating different size thumbnails that meet my needs but I'm having a bit of difficulty displaying them correctly.

They are all generated at the correct size and the relevant CSS has been commented out so there is no CSS restriction but on checking the page that is served to the browser, there is a height attribute specified for the thumbnail:

Code: Select all

		    	    <li class="thumb">
<a href="http://domain/uploads/images/FoS2006xxxxxxxx/gw_FoS_2006.001.jpg" 
rel="lightbox[tessst]" title="gw_FoS_2006.001.jpg "> 
<img src="http://domain/uploads/images/FoS2006xxxxxxxx/thumb_gw_FoS_2006.001.jpg" 
alt="gw_FoS_2006.001.jpg - " title="gw_FoS_2006.001.jpg - " height="72" />
</a>
   	   </li>
Can anyone help me track down where it comes from please?
Last edited by SuperScorp on Sun Jan 27, 2008 2:34 pm, edited 1 time in total.
User avatar
tophers
Forum Members
Forum Members
Posts: 218
Joined: Thu Jun 07, 2007 7:25 pm

Re: Larger thumbnails with 1.2.1 and album 0.9.2

Post by tophers »

Try this - click on the Album template you are using (ie - lightbox), then find and remove the following:

Code: Select all

{$onepicture->autothumbnailsize}
That should remove the auto resizing of your thumbnails and let them show at the enlarged size.
SuperScorp
Forum Members
Forum Members
Posts: 11
Joined: Wed Nov 28, 2007 6:13 pm

Re: Larger thumbnails with 1.2.1 and album 0.9.2

Post by SuperScorp »

Thank you.
kilauea

Re: Larger thumbnails with 1.2.1 and album 0.9.2 [solved]

Post by kilauea »

Finding this post helped a bunch as I was in the same quandary but then I found I wanted to have uniform height for my images so I ended up altering  modules/Album/classes/modules/class.Album.php

Code: Select all

// Make tall thumnails fit in box
	if ($picture->thumbnailheight > 108)
	{
		$picture->autothumbnailsize = ' height="108"';
	}
heavy
Forum Members
Forum Members
Posts: 23
Joined: Tue Jul 13, 2004 3:13 pm

Re: Larger thumbnails with 1.2.1 and album 0.9.2 [solved]

Post by heavy »

I've made a few changes to get larger thumbnails and now they are too big for my page design when there are 4 on a row.
I want to limit the number of thumbnails per row to 3.

It seems to do this with any template, but I'm using the lytebox template currently.
How do I set how many thumbnails wide I want to show?
Look for more CMS help in #cms on Freenode IRC
Post Reply

Return to “Modules/Add-Ons”