Exclude an image from ShortPixel optimization
-
Hi,
While I really enjoy the ShortPixel’s image optimization feature within Autoptimize, however I have an issue with one PNG file (my site’s logo with transparancy) that just looks too bad optimized. I couldn’t find on my own how to prevent that particular image from being optimized, so hoping to get some help here.
I saw this code:
add_filter('autoptimize_filter_imgopt_do_css','__return_false');
that was suggested for another problem in this support thread. Maybe something similar can work in my case? I’m also not sure where should such filter be added to?And big thanks for creating this plugin!
The topic ‘Exclude an image from ShortPixel optimization’ is closed to new replies.