Image is added and the html style changed