How to disable file compression
Permalink
C5 makes all my images look like crap. I would really like to know how to disable this.
I tried adding this to site.php:
define('AL_THUMBNAIL_JPEG_COMPRESSION', 100);
And it didn't work. Are there other steps I need to take?
I need to know how to disable it for PNGs also. This is a huge issue, mainly because the logo at the top of the site needs to be a PNG, and it is extremely blurry and nasty to look at.
Thanks!
I tried adding this to site.php:
define('AL_THUMBNAIL_JPEG_COMPRESSION', 100);
And it didn't work. Are there other steps I need to take?
I need to know how to disable it for PNGs also. This is a huge issue, mainly because the logo at the top of the site needs to be a PNG, and it is extremely blurry and nasty to look at.
Thanks!

Can you post a link? Are you using a "responsive" theme that may be stretching your images to 100% width by default??
Ah, yes, Foundation5. I will do some digging, but if you are familiar with framework please let me know what you know!
Site is on localhost right now.
Site is on localhost right now.
you should be able to add a max-width to the images via css to solve that problem...
This seems to be what is causing the problem, found in foundation.css:
img {
max-width: 100%;
height: auto; }
When I remove the max-width style, it actually fixes the images. *Shrug*
img {
max-width: 100%;
height: auto; }
When I remove the max-width style, it actually fixes the images. *Shrug*
That should also do it globally for you.
Make sure to copy that file to the appropriate override folder. If you don't, and you ever update the theme (upon available updates) you will lose that modification :)
Make sure to copy that file to the appropriate override folder. If you don't, and you ever update the theme (upon available updates) you will lose that modification :)