[SOLVED] Thumbnail / image quality

Clean, super flexible and multipurpose Joomla template with detailed design
GK User
Mon Jul 14, 2008 9:44 am
is there any way to make our images a quality better eg.customise the thumbnailer
User avatar
Fresh Boarder

GK User
Wed Jul 16, 2008 12:23 pm
Quality of the large images is terrible, how can I make them better quality.
User avatar
Fresh Boarder

Dziudek
Wed Jul 16, 2008 12:57 pm
if you use jpg files then change all function imagejpeg in plugin php file:

from like this:
Code: Select all
imagejpeg($first_arg, $second_arg);


for:
Code: Select all
imagejpeg($first_arg, $second_arg, $QUALITY);


where $QUALITY is value 0-100, for your the best will be sth like 90-100 ;)
User avatar

GK User
Wed Jul 16, 2008 2:27 pm
thanks for the solution!
User avatar
Fresh Boarder

GK User
Mon Oct 06, 2008 10:55 am
Hi guys,

I have the same problem and I can't find the plugin php file to make the change, which folder is it in?

Thanks
User avatar
Fresh Boarder

GK User
Mon Oct 06, 2008 8:27 pm
it is plugin php file which you must upload in component :)
User avatar
Administrator

GK User
Tue Oct 07, 2008 10:12 am
I wish I knew what you're talking about.. :blush:

I'm sorry but it's the first time I'm dealing with php files and Joomla... could you please be more specific?

Is it a file I have to create (and I'm afraid I wouldn't be able) or I need to get it from somewhere?

Thanks
User avatar
Fresh Boarder

GK User
Tue Oct 07, 2008 11:11 pm
this plugin has name like gk_news_image_1.php and you must change lines mentioned in previous posts
User avatar
Administrator

GK User
Wed Oct 08, 2008 10:19 am
I've checked every single folder I have downloaded to install template and components, and I couldn't find that php file... :huh:
User avatar
Fresh Boarder

GK User
Wed Oct 08, 2008 4:48 pm
I've downloaded another template (ILife) and its folder actually contains that plugin.

However there's no such line as imagejpeg, but in class.image.php (same folder) I've found:

Code: Select all
imagejpeg($imageBG,$pathB.DS.'thumb'.$size.DS.$name, $Quality);





Do I have to change this one?
If so, how can I add the quality values?


Thanks a million for your help
User avatar
Fresh Boarder

GK User
Wed Oct 08, 2008 10:35 pm
In new version of Photoslide you can set this values in group settings so you mustn't change it manually in file ;)
User avatar
Administrator

GK User
Thu Oct 09, 2008 5:20 pm
I see, that makes life much easier, thanks! :)
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.