From this point forward, documentation is outdated and API is deprecated.
When generating a ZIP file using the
multi() API method, the default behavior is to preserve the original folders hierarchy of the collected files inside the generated ZIP.
Cloudinary, now supports the
flatten flag (
fl_flatten for URLs) designated to override this behavior. Once this parameter is set, Cloudinary will generate a flat ZIP, ignoring the files' original folders hierarchy. In case of duplicates, a 1/2/3/... suffix will be added to the file names.
Note that the parameter must be used both within the
multi() API call and the request URL.
For example (PHP):
\Cloudinary\Uploader::multi('logo', array("format"=>"zip", "flags" => "flatten"));
Will result with the following delivery URL: