moved img styles to css block