proxy jpg and png as binary file