URL logic to show images based on 3 tiers of priority
HI ,
We are evaluating your system and would like to see what documentation you have around what kind of business rules we can use within the system without having to write a middelman wrapper...
We would essential like to -
Show a random image out of a pool of tagged images
Show tagged images based in the non-existence of other tagged images - ie :
try to find image brand:12 , if not try id:23242 , if not try catagory:232
cheers
-
Hi Lee,
Thanks for reaching out.
To show random images based on a pool of tagged images you can use our API to list by resources by a specific tag and then randomly choose a resource from the list. For more information please see the following- https://cloudinary.com/documentation/admin_api#list_tags
To show tagged images based in the non-existence of other tagged images - you can use our search API- for more information please see the following- https://cloudinary.com/documentation/search_api
0
Post is closed for comments.
Comments
1 comment