allow some css rules for images (#478)