fix minor issues (form group) in media/image template snippet