Hosting service with specific filename

I have several images for which I need a public link pointing to the image. This link must be exactly the same for all images, with the name of the file varying.

So for example, if my images are img1.png, img2.png and img3.png I would need something like:

I tried with Dropbox, Google Drive and Imgur, but the link for each image doesn’t have the filename but a random code:

I know that Firebase provides such a hosting service, however I would prefer another service.