Skip to content

SumitKanchan4/SPFxImageGallery

Repository files navigation

Image Gallery Webpart for SharePoint Framework

Applies to spfx version GitHub issues GitHub forks GitHub stars

SharePointWidgets.com

This webpart will allow you to create a image gallery with lot of options. These are beautiful galleries options with responsiveness and configurations.

In this webpart, there are 3 types of gallery views, which will help you in desiging your SharePoint page more attractive and more meaningful

Gallery Views

  • Lightbox Layout
  • Carousel layout
  • List Layout

Features..!!

  • Add Captions to the images
  • Create redirect links with any view
  • Add description to the List layout for more information
  • Choose source from the current site or any other site
  • Option to choose from multiple document libraries
  • Option to choose from the number of images
  • Option to choose from the auto-rotation and the duration in the carousel layout
  • Option to choose from number of images in a row, set as per your area

Lightbox Layout Screen

This layout is a flexible layout where multiple images can be displayed in a small area. You have the option to choose the number of images in a row, which will make more configurable to suite your needs and ofcourse you have the option to choose the number of images as well. Below is the glimpse of it.

SharePoint Framework Image Gallery - Lightbox layout

Carousel Layout Screen

New improved carousel effect, which makes it more appealing. Choose from the option to auto-rotate or keep it manual. Displays the number of items in the carousel and choose the speed of the auto-rotation.

SharePoint Framework Image Carousel

List Layout Screen

This layout is more informative with an image to attract the type of information. Create redirect link to navigate user if they want to know more.

SharePoint Framework Image List Gallery

Prerequisites

Document library with below columns

Column Internal Name Column Type
Enable Yes/No
Description Multiple lines of text
RedirectLink Single line of text
Caption Single line of text

How to add the webpart

How to add the webpart

Configuration

Lightbox Configuration

SharePoint Framework Image Gallery Configuration

About

Version Date Author Change Log
2.0.0.0 23 Sep 2020 Sumit Kanchan Updated to spfx version 1.11.0
2.1.0.0 23 Sep 2021 Sumit Kanchan Updated to spfx version 1.12.1

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Happy Coding...!!! 👍

- Sumit Kanchan