Recover all photos in a folder

Comments

2 comments

  • Avatar
    vitor saad

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

    0
    Comment actions Permalink
  • Avatar
    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
    Comment actions Permalink

Please sign in to leave a comment.