CMS-2636 Make input type Image work