Cloudinary supports clipping paths JPG images based only on a specific selected clipping paths.
You'll need to create the PhotoShop files with multiple paths in a certain consistent order. Then the JPG images uploaded to Cloudinary will have multiple clipping paths in this order.
Then you can set the
flags parameter to
fl_clip in URLs) alongside with the
page parameter set to the required path,
"page" => 1,
"page" => 2 (
pg_2 in URLs) and so on, for selecting a specific clipping path rather than the first one.
For example, the URLs should look similar to the following:
The Admin API can return the image's number of clipping paths. For more information: