I have a folder that contains images with different extensions. Like 1.jpg, 2.png, 3.gif etc
The images have different names ( 1,2,3,4,5,6 …) but their extensions are of different types.
What I try to so is to retrieve an image when I only know the image-name but not the extension.
This is not working:
Anyone who may help me???