Added support for images with uppercase file extensions in the image selector.