minor fixe to connecdweb.pagedit.css
bug fix to switch handler in media/image template snippet