Question

i have created a custom master page( converted an html page to master page) . I want to add a slideshow to the page,but i am not able to make the picture library snippet to work. I have tried with the image web part snippet but cant seem to be able to resize the pictures only the webpart in overall is being resized

enter image description here

Était-ce utile?

La solution

I’m not sure about the master page and such, but you if you are using SharePoint 2013 or later you can add the Content Search web part or the Pictures web part to any web page – site page or web part page - and display an image slideshow. Large images are cropped to fit and display nicely.

When editing a web page the Content Search web part is usually in the Content Rollup category and the Pictures web part is usually in the Search-Driven Content category.

  1. Edit a web page.
  2. Add the one of the two web parts to the page.
  3. Edit the web part.
  4. In web part settings, in the Search Criteria section click Change Query, then in the Restrict by app drop down select Specify a URL and enter your picture library’s URL. Click Ok.
  5. In web part settings, in the Display Templates section, in the Control drop down select Slideshow, and in the Item drop down select Large Picture.

Autres conseils

This worked for me,just need to change the size accordingly :https://en.share-gate.com/blog/sharepoint-slider-display-template

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top