timber / timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine
https://timber.github.io/docs/
MIT License
5.52k stars 513 forks source link

image|resize() converts progressive image to baseline #390

Closed mindfullsilence closed 8 years ago

mindfullsilence commented 9 years ago

Keep the jpegs as progressive if they started out that way for website performance reasons. Currently, the |resize() function converts the image to baseline. Any way to keep an image as progressive when using resize()?

mgmartel commented 9 years ago

Timber uses the default WordPress image editing implementation, which does not support progressive JPGs, unfortunately. There has been a ticket in the WP trac for over 2 years now (#21668) to get this solved, but no news yet.

Even though it's not optimal in this respect, the closer Timber stays to WP image editing functionalities the better, I think.

You could consider using a plugin like EWWW Image Optimizer, that extends the default WP image editor functionalities and supports progressive JPGs!

-- Mike

connorjburton commented 8 years ago

I'm going to go ahead and close this issue, if this is still an issue please comment and i'll reopen.