Handle images with uppercase extensions