Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-10-11 13:36:03
- ibob
- Member
- From: Finland
- Registered: 2010-06-14
- Posts: 35
Thumbnail quality
Is there any way to affect on thumbnail image quality without plugins? Or if not, what plugins do you recommend?
Last edited by ibob (2010-10-12 06:40:00)
Offline
Re: Thumbnail quality
Without plugins I think it’s set at 80% quality. If you’re running TXP 4.3.0 (RC1 or higher) you can try smd_thumbnail which allows you to create thumbs of different dimensions. The ability to alter both the sharpness and quality of created thumbnails is in the plugin.
Some of the other thumbnail plugins (such as the batch upload ones) might allow you to do similar, I don’t know.
Incidentally, TXP 4.3.0 has better thumbnail handling of PNG images — it respects transparency now.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Thumbnail quality
Is is worth to add additional option in advanced settings, where you can set thumbnail quality?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#4 2010-10-12 06:52:57
- ibob
- Member
- From: Finland
- Registered: 2010-06-14
- Posts: 35
Re: Thumbnail quality
Kk, thank you for your reply. I’m currently using 4.2.0 so I think at this point I’ll just force big images to smaller size and wait for stabile version of 4.3.0. Nice to hear that there are coming imagehandling changes. That option to change thumbnail quality (and maybe default size of uploaded and thumbnail image) would be just awesome.
My issue is usually that my customers can’t/dont-know-how/doenst-have-software resize images before uploading them to textpattern so these changes would really help out and make it easier to use textpattern in commercial projects.
Offline
#5 2010-10-12 09:38:51
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: Thumbnail quality
ibob wrote:
My issue is usually that my customers can’t/dont-know-how/doenst-have-software resize images before uploading them to textpattern so these changes would really help out and make it easier to use textpattern in commercial projects.
For cropping/resizing thumbs and images after upload take a look at ebl_image_edit
Offline
#6 2010-10-12 17:30:18
- ibob
- Member
- From: Finland
- Registered: 2010-06-14
- Posts: 35
Re: Thumbnail quality
Thanks masa, i’ll definitely try that one!
Offline
Re: Thumbnail quality
If you don’t mind editing TXP core code, you could edit the file ‘textpattern/lib/class.thumb.php’ and change the quality in this line (around line 70):
$this->quality = 80;
Offline
#8 2010-10-13 20:04:56
- ibob
- Member
- From: Finland
- Registered: 2010-06-14
- Posts: 35
Re: Thumbnail quality
Thanks ruud, found it and changed it to 100. Thumbs are looking great now.
Offline
Re: Thumbnail quality
the_ghost wrote:
Is is worth to add additional option in advanced settings, where you can set thumbnail quality?
fwiw
Image quality seems like something that should be easily adjusted – somewhere.
Whether by plugin or core (since quality is such a basic I’d lean core).
Offline
Re: Thumbnail quality
maverick wrote:
Image quality seems like something that should be easily adjusted – somewhere.
Whether by plugin or core (since quality is such a basic I’d lean core).
There should be callback before setting quality in core, if we want plugin override this setting
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#11 2010-10-13 22:16:40
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: Thumbnail quality
I have never had issues nor any complaints from others regarding the quality of thumbnails.
So I’d be very interested to see some samples, that show problems. Perhaps this is limited to certain kinds of images ?!
Offline
Pages: 1