cloudinary / pycloudinary

Python package for cloudinary
https://cloudinary.com/documentation/django_integration
Other
256 stars 138 forks source link

set fl_progressive flag in build_url #303

Closed kirantyefun closed 2 years ago

kirantyefun commented 2 years ago

Feature request for Cloudinary Python SDK

…(If your feature is for other SDKs, please request them there)

Explain your use case

… i need to load my images in a progressive way that cloudinary supports.

Describe the problem you’re trying to solve

I could not find any documentation related to how I can add the fl_progressive flag in the CloudinaryImage.build_url api.

Do you have a proposed solution?

… NO. if there's any implementation regarding it. Please provide to me.

Vdeub-cloudinary commented 2 years ago

Hi @kirantyefun,

Here is the right syntax:

cloudinary.CloudinaryImage("sample.jpg").build_url(flags="progressive")
### output: http://res.cloudinary.com/demo/image/upload/fl_progressive/sample.jpg
kirantyefun commented 2 years ago

Thanks @Vdeub-cloudinary for the quick response. Got what i needed.