Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 23. Oct 2017, 00:49

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Improving image quality
PostPosted: 12. Jan 2010, 00:59 
Offline

Joined: 23. Sep 2008, 13:34
Posts: 6
I am running TWG 1.6.3.
Just wondering how to improve the quality of the images which show in my gallery.
I FTP the photos directly to the folder - images are generally between 80-200 KB - quality looks good when we look at them on our PC, but application seems to reduce the quality when they are displayed.

I'm unsure what is doing this?

$small_pic_size = 333;
$resize_only_if_too_big=false;
$use_small_pic_size_as_height=true;

So I imagine that images are scaled back to 333 high - I would not expect this to reduce quality but maybe it does.. ???
Welcome your feedback.

Thanks!
Jen


Top
 Profile  
 
 Post subject:
PostPosted: 12. Jan 2010, 10:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10499
of course it does because you have set

$resize_only_if_too_big=false;
So all images are resized to the same size.

If you upload your images smaller than 333 px and set
$resize_only_if_too_big=true;

then the images at not resized.
Or you can use image magick which often has better image quality.

Best,
Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Jan 2010, 11:25 
Offline

Joined: 23. Sep 2008, 13:34
Posts: 6
Hi there

Sorry I should have mentioned that the height is greater than 333px - for example the latest lot are 550x366.

So are you suggesting that as long as images are greater than 333px high there is nothing else (e.g. no other setting) which should reduce the quality??

To use image_magick I would need to upgrade to 1.7 and check if it's supported on the server (and clear the image cache)?

Sorry if I'm asking obvious questions :-)

Regards
Jen


Top
 Profile  
 
 Post subject:
PostPosted: 12. Jan 2010, 12:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10499
First you should check if you have image magick.

and upgrading to the latest version is always a good idea - you find a patch on the hopepage (or in the forum if you already want to use 1.8).

you can increate the image quality a little bit by changing the compression factor - but don't expect a big difference there.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO