Add formatting for images