I want to create Image gallery widget in my sharepoint website that will access the image from sharepoint list.Below is my requirement

  1. Image gallery view will display in carousel or slider
  2. when we click on image the lightbox will appear
  3. Please help in building javscript and caml query building and provide me the source code for photo gallery with slider

Follow below steps for your requirements:

  1. Create one Picture Library App in your site.
  2. Create a new page.
  3. Use Bootstrap carousel in your html code.
  4. Add Content editor on your page and give path to the newly created HTML file.
  5. Fetch Pictures from picture library using SharePoint REST as given, here.
  6. Use these pictures to show on your page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.