My images are uploaded properly, but the gallery cannot display them

Question

I am using IIS and after uploading an image the gallery displays 'image not found'. What is wrong?

 

Answer

The file permissions on your uploaded images are copied from the file permissions on your temp folder, so make sure your temp folder has file read permissions enabled for the IIS_IUSRS group.