Skip to content

REST API filter, Progressive image parameter

Compare
Choose a tag to compare
@junaidbhura junaidbhura released this 24 May 07:34
· 86 commits to master since this release

1. Cloudinary URLs in REST API calls

Cloudinary URLs now do not appear in REST API calls by default. It can be turned on by using a filter:

add_filter( 'cloudinary_allow_rest_api_call', '__return_true' );

2. Progressive image transform parameter

Added a new progressive image parameter as suggested in #20

It accepts one of four values:

'progressive' => true, // fl_progressive
'progressive' => 'semi', // fl_progressive:semi
'progressive' => 'steep', // fl_progressive:steep
'progressive' => 'none', // fl_progressive:none

More info here: https://cloudinary.com/documentation/transformation_flags#delivery_and_image_format_flags