rosell-dk / webp-express

Wordpress plugin for serving autogenerated WebP images instead of jpeg/png to browsers that supports WebP
GNU General Public License v3.0
226 stars 64 forks source link

Suggest disabling of exec-based converters that are not operational #350

Open rosell-dk opened 5 years ago

rosell-dk commented 5 years ago

The exec based converters can generate messages in the error log when they fail. To avoid that, one can disable these converters when they aren't operational. cwebp can also generate such errors even when operational, as it both tries the precompiled versions that ships with WebP Express and versions found in the system. For operational cwebp, one should disable the method that doesn't work (either “Try precompiled cwebp” or "Try to execute cweb binary at common locations").

WebP Express could detect such situation and suggest one to take such action.

rosell-dk commented 5 years ago

(instead of merely suggesting, WebP Express could go ahead and take the action - and show a dismissable message that it has done so)

rosell-dk commented 5 years ago

https://wordpress.org/support/topic/convert-converters-binaries-cwebp-linux-0-6-1-permission-denied/#post-11959234