Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to customize the jpg-compression of thumbnails
Hey guys,
iam trying to build a little photoblog with Textpattern.
Everything works fine, but my problem is the compression of the thumbnails. Anybody has an idea how i can get a better quality for the generated thumbnails? Do i have to hack TXP, is there a plugin or something?
Thx 4 your help :)
Offline
Re: How to customize the jpg-compression of thumbnails
You should be getting 80% quality (at least from L70 in textpattern/lib/class.thumb.php) – you need more than that? I don’t know of any plugins that affect thumbnail quality, so you could either modify class.thumb or upload your own thumbnail.
Offline
Re: How to customize the jpg-compression of thumbnails
Mhm for a normal weblog the compression is ok, but for a photoblog the quality is a little bit to blurry…
Hacked the class.thumb.php for now, but for the future it would be great to modifiy the compression in the admin-menu….
Thanks for your help jm.
Offline
Re: How to customize the jpg-compression of thumbnails
80% is the best you’re going to get from gd library. anything higher just creates much larger file sizes at very little to no visible quality gain.
Last edited by iblastoff (2008-03-09 12:06:43)
Offline
Re: How to customize the jpg-compression of thumbnails
iblastoff I am now at 93% and the results looks still better then with 80%.. the filesize has increased by 300% but for thumbnails this is ok. so… i can see a quality difference.
Offline