moving dynamic image styles to css,