connected templatePreviewImageView to template.thumbnail