win-site / winsite-image-optimizer

Image optimization for WordPress done right.
https://wordpress.org/plugins/winsite-image-optimizer/
11 stars 2 forks source link

Ignore animated GIFs #7

Open simbasounds opened 8 years ago

simbasounds commented 8 years ago

WordPress changes GIFs to PNG by default for thumbnails. The full-size version remains a GIF, though.

When WIO is active, the full size images inserted via the default media uploader are only available as PNG.

The workaround is to reference the original image by manually modifying the source text: remove "wsi-imageoptim-" and change the file extension from png to gif

There may be cases where getting at the source text is not an option.

Ideally it would be great to include an option to either: ignore converting GIFs or reference the original in the case of GIFs

kornelski commented 7 years ago

The ImageOptim API now supports animGIFs.

AmitT commented 7 years ago

@pornel Thank you for the informatio! I'll look into this.

simbasounds commented 7 years ago

That is great news : ) @pornel