add styles for inline images