add support jpg and tiff