Skip to content

Releases: junaidbhura/auto-cloudinary

Video URL support

26 Jun 10:03
cb704ea
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.0...1.3.1

Better handling of soft crops

13 Jun 02:25
Compare
Choose a tag to compare

Better handling of soft crops #41

Fix admin settings page

09 Jan 01:31
Compare
Choose a tag to compare

Fixed missing admin settings page: #33

Fix block editor image sizes

22 Nov 11:29
Compare
Choose a tag to compare

Fix block editor image sizes

23 Sep 02:55
Compare
Choose a tag to compare

Fixes a conflict with the block editor's image sizes: #25

REST API filter, Progressive image parameter

24 May 07:34
Compare
Choose a tag to compare

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

Better AJAX support

20 Feb 06:41
Compare
Choose a tag to compare

Better AJAX support, fixes #13

Default crop options to the WP Admin

26 Oct 11:16
Compare
Choose a tag to compare

Added default crop options to the WP Admin based on this issue: #10

Based on requests on Github and on the WordPress support forums, it became apparent that it would be easier to set default crops for hard and soft crops directly from the WP admin, rather than by using filters.

The filters still continue to work as before:

Setting the filter cloudinary_default_crop sets the default crop for all images.
Setting the filter cloudinary_default_hard_crop sets the default crop for hard cropped images.
Setting the filter cloudinary_default_soft_crop sets the default crop for soft cropped images.

New filters and performance improvements

03 Jun 08:18
Compare
Choose a tag to compare

1. New Filters

Added two new filters based on this issue: #2 :

cloudinary_default_soft_crop

Filter the default crop used for content images which are "soft cropped". This inherits the value of cloudinary_default_crop by default.

Example:

add_filter( 'cloudinary_default_soft_crop, function() {
	return 'fit';
} );

cloudinary_default_hard_crop

Filter the default crop used for content images which are "hard cropped". This inherits the value of cloudinary_default_crop by default.

Example:

add_filter( 'cloudinary_default_hard_crop, function() {
	return 'fit';
} );

2. Performance Improvements

Cached image sizes for better performance.

Remove empty width and height from URL

05 Mar 07:13
Compare
Choose a tag to compare

This fixes #1 .

A width or height with value 0 would cause an error on Cloudinary. This is fixed by not adding empty width or height values in the URL.