#8429 insert class for images