Skip to main content

Recover all photos in a folder

Comments

2 comments

  • vitor saad

    I also want to know which method to use to whether a public_id there

    0
  • Nadav Ofir

    Although it's on our road map to add, requesting all images from a specific directory is not yet supported.

    Meantime, you can assign a unique tag to all images located in the same dir and list it from the client-side using:

    String result = cloudinary.url().type("list").format("json").generate("tag");
    

    Will result with:

    http://res.cloudinary.com/<your_cloud_name>/image/list/tag.json
    

    Returns A json of all matching resources.

    Note that you should first enable 'Image list' under Restricted image types in your security settings page

    0

Post is closed for comments.