Blog

Display publishing image with a link correctly within a display template

When you create a display template that displays a publishing image (example: the roll-up image of a page) it might be that you used the Srch.ContentBySearch.getPictureMarkup() function of SharePoint. This function is also used in the standard display templates like for example: Item_Picture3Lines.html. This Srch.ContentBySearch.getPictureMarkup provides you the markup for rendering the image with the image rendition of your choice. The

Read article

Search JavaScript calls not working for anonymous users and how to fix it

Back in December 2013 I wrote an article in which I explained how you could dynamically switch the result source with a search query keyword. > **Note**: You can find the article over here - [Dynamically changing the result source in a SharePoint 2013 search center](https://www.eliostruyf.com/dynamically-changing-result-source-sharepoint-2013-search-center/). The past few weeks I have got the same question a couple of times how to

Read article

Elio Struyf

Solutions Architect & Developer Expert

Loading...

Let's build together

Manage content in VS Code

Present from VS Code

Engage with your audience throughout the event lifecycle