Image Upload Quality
This is would be very disappointing if you could not disable the default image compression in C5...
Does anybody has a solution for this problem?
$res2 = imageJPEG($image, $newPath, 80);
change that 80 to something higher to turn off the compression. You may have to rescan your images and clear your cache.
It would be nice if this was set with a global variable.
I will try that out and post my results here!
I also deleted and re-uploaded the images to test it.
The actual quality of the test image set does not change no matter what kind of value I implement in to the image.php. even there is no or zero value...
The strange thing though is that in the C5 file manager the test images are in the correct quality but on the site itself they are "Save for Web....Low quality 10"
Any advice would be appreciated.
What I don't understand is that the C5 file manager displays the test images in the correct quality...
Will keep the forum posted regarding the results...
Meanwhile thanks a lot for your help!
In the File manager > Image property it looks like this:
New uploaded image: joanna_mcclure.png
(URL to file:http://www.olex.org/files/4012/7566/1575/joanna_mcclure.png)...
Default Location (/home/olex/public_html/files)
Image displayed on website: joanna_mc_clure_300x194.jpg
Are those issues related to C5 or the actual development of the site? If anybody has an explanation for this please let me know. Thanks.
This is what did the trick for me:
1. Increase the JPG settings in the "concrete/helpers/file.php (Thanks Tony for the tip)
2. FTP: empty cache in "file/cache"
3. FTP: delete files in "files/custom_folder/custom_folder"
4. CMS: clear cache
5. Upload new images
6. Empty browser cache
I noticed that now image.php has this code:
$res2 = imageJPEG($image, $newPath, AL_THUMBNAIL_JPEG_COMPRESSION);
Where can I change the quality setting at the moment?
Found the answer: