Square Thumbs [SOLVED]

refrakt

Joined: 2005-04-03
Posts: 3
Posted: Mon, 2005-04-04 07:46

I have problems with the square thumbs module. If i turn it off, add pix and refresh the thumbs come up but in different sizes and cropped wrong, they all usually re-generate to a full thumb (with correct aspect) after 3/4 refreshes. When i turn the SquareThumbs module on, all the thumb resolutions are changed. And if i add new images with the module on, thumbs dont show up at all. How can I fix this so that i can leave square thumbs on and have thumbs showing. Squarethumbs is a great feature, so i really need it to work. Any ideas?

----

Gallery URL (optional): refrakt.com/gallery [DOWN]
Gallery version: 2 (28/3/05)
Webserver (with version): Apache 1.33
Datatabase (with version): mySQL 4.0.24
PHP version (eg 4.2.1): 4.2.1
phpinfo URL (optional): refrakt.com/phpinfo.php [DOWN]
Graphics Toolkit(s): ImageMagik
Operating system: OS X Server 10.3.8
Web browser/version: Safari 1.2.4
G1 version (for migration bugs):

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2005-04-04 14:32

Well, add the thumbs with the module on and rebuild the wrong thumbs. Or am I missing the problem :-?

 
refrakt

Joined: 2005-04-03
Posts: 3
Posted: Tue, 2005-04-05 02:20

Re-Building thumbs does not work. The problem is that with the square thumbs module on, thumbs dont generate. With it off, they generate but at random sizes. If i then crop the thumbs and re-generate, they still dont appear at the new cropped size. If i then turn the module back on, most of the thumbs become the same square size but stretch the first few pixel's of the image to fill the square. Some others just dont show up.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-04-05 03:38
refrakt wrote:
The problem is that with the square thumbs module on, thumbs dont generate.

What toolkit are you using? If you can, try using only the NetPBM toolkit and see if that resolve your problem. There are some issues with square thumbs on ImageMagick, and GD can blow out your memory limits on large images.

 
doctormord
doctormord's picture

Joined: 2005-01-26
Posts: 63
Posted: Tue, 2005-04-05 09:00

Imagemagick always blow out my memory when i visit a site, where no thumbnails where created yet. :) It starts 10x convert with ~40mb each. That really hurts with 6MP images. Is it not better to do one after another?

To solve this problem, i always use this nifty script "BuildAllDerivatives.php", seen here in the forum.

 
refrakt

Joined: 2005-04-03
Posts: 3
Posted: Wed, 2005-04-06 14:52

Using only NetPBM has fixed my problem. Thanks bharat. [SOLVED]