I'm trying to show results with a simple display template. But I get a error:
Cannot read property 'getPictureMarkup' of undefined
How do I retrieve images with search result? I was hoping that I could use the same display template as with CSWP, but clearly not :(
var pictureMarkup = Srch.ContentBySearch.getPictureMarkup(pictureURL, 100, 100, ctx.CurrentItem, "cbs-picture3LinesImg", line1, pictureId);
Are the Property mappings the same with search result as with CSWP ?