Skip to content

Where is the line responsible for jpeg compression level for the product page?

I’m looking to turn off compression for product pages specifically, meaning if I uploaded a 200k jpeg file, I expect to see exactly the same 200k file on a product page.

Looking to find a line that governs said compression. Looked into other similar questions but the answers didn’t work for me at all.

Magento generates a lot of jpegs based on that original 200k one, but I’m looking to completely bypass those cached images and display the original one instead.