Add support for JPEG and TIFF for image app