Accept uppercase file extensions for images

Signed-off-by: Alan Gardner <alan@armoin.com>