support jpeg file extension