added adaptive images and fix client template