How to Implement Image Gallery

How to Implement Image Gallery

In this article, we will be showing an example how we can use other Javascript library other than Dojo Toolkit in WebClient and how to implement an image gallery using https://galleriajs.github.io/
1. Create a Plex grid function where one of the grid column contains image file name, for example APPLE.gif, FOOTBALL.gif
2. Set the grid control name template to WebImageGallery.ctrl
Control Name GridP:MainArea:template=WebImageGallery
3. Copy WebImageGallery.ctrl to your customtemplate project/src folder.
4. Copy your image files to images folder under web project/WebContent/images folder.
5. Open the WebClient URL in the browser