change order of image message args to work with browser client