scaleflex / js-cloudimage-responsive

Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load. Any questions or issues, please report to https://github.com/scaleflex/js-cloudimage-responsive/issues
Other
68 stars 15 forks source link

Enhancement - image types #10

Closed maceksimon closed 2 years ago

maceksimon commented 4 years ago

Hello and thanks for a great plugin!

I am looking for a way to serve webp images to my site through element and a set of would it be possible while using js-cloudimage-responsive? If so, how would you go about it? Would you consider enabling this functionality through options? Thanks!

Simon

dzmitry-stramavus commented 4 years ago

Hey @maceksimon ,

sorry for the late response, but I am not sure what you mean exactly. Can you give us more details?

maceksimon commented 4 years ago

Thanks for the answer, and sorry for the unclear formulation. I was just looking for a way to use WEBP images with your plugin on my website. I have already solved the problem in a different way. However, in case someone else would be interested in this, would you be able to link to an example in docs? Thanks!

nganchev commented 2 years ago

Hello @maceksimon

If you are using the Cloudimage plugin, you should be using Cloudimage token as well, right? In that case the image format delivery can be controlled from the Cloudimage admin and settings for the token itself.

Please refer to the documentation here https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/image-compression There are settings inside the admin that can be used as well as using rules.

Also inside the plugin you can include parameters ( check the plugin ReadMe for "params" or "ci-params") for force_format with set value/s.