iJoomla Forum

iJoomla News Portal => Tips and Tricks => Topic started by: ggww on January 22, 2008, 11:47:26 AM



Title: Adjust thumbnail quality
Post by: ggww on January 22, 2008, 11:47:26 AM
Is it possible to adjust the quality of the image thumbnails that News Portal produces?  I have sized the images I am using so that the dimension ratios don't change, but of course the thumbnail process is introducing some quality reduction.  I would like to find where in the code it is creating the thumbnails and up the quality a bit.  I am only using 200x200 for my largest (top stories) size and the thumbs that news portal is producing have a fair amount of artifacting on them.  I have browsed the code, but can't find where this is happening.  Clues would be welcome.

Thanks,
Bryan


Title: Re: Adjust thumbnail quality
Post by: ggww on January 22, 2008, 01:07:25 PM

Once again I just need to look harder.  The create_thumbnails function in news_portal.html.php is where this is at.  They use the imagejpeg, imagegif and imagepng functions.  Quality can be set there.

Bryan


Title: Re: Adjust thumbnail quality
Post by: smoothdude11 on January 23, 2008, 01:04:46 AM
You should post your findings in the tips and tricks section for others who could use the info. 


Title: Re: Adjust thumbnail quality
Post by: RicardoCorai on January 23, 2008, 03:09:15 PM
Done.
Thank you ggww.
Best regards,