change content-type from png to jpeg