Change image attachment format