set the extension of the download PO of .jpg