Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Image quality


Go to End


6 Posts   2510 Views

Avatar
WebSpilka

Community Member, 89 Posts

28 July 2008 at 6:32pm

Where can I change degree quality for my uploaded images that are like
http://bayka.kiev.ua/assets/botles/b_whisky/jemeson/_resampled/SetWidth140-jemeson_0_7_box.jpg

Avatar
Willr

Forum Moderator, 5523 Posts

28 July 2008 at 6:41pm

at the moment its hardcoded at the top of GD.php - protected $quality = 75; The next release - 2.2.3 has a method called set_default_quailty(xx); which you can define a global quality for image quality but for now the easiest way would to be just tweak that value in GD.php

Avatar
WebSpilka

Community Member, 89 Posts

28 July 2008 at 6:48pm

Thank you very much for the speed

Avatar
sjbmaine

Community Member, 17 Posts

22 October 2008 at 8:13am

Edited: 22/10/2008 8:17am

I'm dealing with this issue as well. Where do I find the gd.php file? thanks!

Avatar
vstrazz

Community Member, 63 Posts

22 October 2008 at 8:18am

/httpdocs/sapphire/filesystem/GD.php

Avatar
sjbmaine

Community Member, 17 Posts

22 October 2008 at 8:24am

Thank you!