Reformat style for image