I just did this real quick but is hugely better quality of thumnails. Code is basically scavenged from phphotoalbum by Henning Støverud (Coppermines daddy so to speak)
Ok so here goes written for gd2 (Just change imagecreate function to use with earlier gd versions). There is one variable to set (thumbnails width) $newWidth = 200 change to desired size.
This could be done a little better define $newWidth in vars.php instead. But no matter what it makes helluva lot nicer thumbnails that are as close to ImageMagick or NetPBM as we'll get with GD IMHO!
Have Fun! Peter
sixonetonoffun Major
Joined: Jan 13, 2003
Posts: 892
Posted:
Mon Feb 16, 2004 8:57 am
I have to add that in detail.php around line 80 edit or remove width=\"120\" height=\"100\" to reflect thumbnails new size if changed from 120.
Note* Also the table <td width= % will need adjusting default is 20% and 80% at 200 width I used 30% 70% looks pretty good. There are about 5 instances in default.php
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum