I need the image name to be part of the URL for it to work with my image gallery
What steps have you taken to resolve the issue?
I have an image gallery and recently moved the images to Cloudflare Images. However, to integrate properly with my existing code, the image name needs to be part of the image URL.
Currently, the gallery cannot determine which image to display if an identifier like 1-ebd6-414a-88cd-eda3bd0f2700 is used alone. I am using flexible images with parameters, and this works well for generating images with settings like:
to let the system know which image should be displayed by including the image name in the URL.
In other words: Replace the Image ID with the Image Name.
( no need to change the path )
Is there a way to achieve this with Cloudflare Images?
I saw some answers in the forum on this topic, but they were more general and not specific for my case.
( like here: Topic )
If this is possible, could I get more specific help or examples?
Mike is right in that using custom paths is likely to be your best option.
Filename as we use it in Cloudflare Images isn’t unique - you could happily upload two separate files called “cat.jpg” with separate content making it unsuitable for this.