SharePoint

Adding Picture Slider on SharePoint Online

To add a slideshow Web Part

  • Add images to a new picture library
  • Go to the Page where you want to put the slider and Edit it
  • Add a Web Part
  • Under Media and Content
    • Add Picture Library Slideshow Web Part
  • Edit Web Part
    • Duration to Show Picture
    • Select Picture Library you saved your photos in
    • Apply the changes

The photos will not auto rotate as it is disabled!

To enable Autorotate feature

  • Download SharePoint online Management Shell
  • Connect your SharePoint site
    • Enter URL, don’t forget to add -admin after the site name
    • Enter credentials having Global Administrator rights
    • Confirm by pressing ‘y’

Connect-SPOService -Url https://xxx-admin.sharepoint.com -credential xyz@xxx.com

  • Enable CDN (Content Delivery Network)
    • Confirm by pressing ‘y’

Set-SPOTenantCdnEnabled -CdnType both -Enable $true

  • Enable the picture library to use the enabled CDN
    • Replace site/MyPicLibrary in below example with your own
    • Confirm by pressing ‘y’

Add-SPOTenantCdnOrigin -CdnType Public -OriginUrl sites/site/MyPicLibrary

Wait for 15 Minutes and Voila!

One thought on “Adding Picture Slider on SharePoint Online

Leave a comment