moved img formatting to css