Fixes on template, implemented upload of images and positioning of markers with photos, fixed syncphoto