Image gallery component | Community
Skip to main content
Level 4
February 22, 2024
Solved

Image gallery component

  • February 22, 2024
  • 2 replies
  • 1049 views

I have a requirement to create an image gallery component.

Here, there is no upper limit on the number of images. On click of '+3' tile, all images will come up and on click of any individual image, it opens up with a description attached to it.

 

How can I develop this? Is there any OOTB component that can be used here?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Imran Khan

Yes, it must be a multifield having image URL, title, description, call to action, etc. if required. On click of particular image, FE team have global or component popup to show required data.

2 replies

Hemant_arora
Level 8
February 22, 2024

Use the OOTB teaser component

Imran Khan
Community Advisor
Community Advisor
February 22, 2024

@goyalkritika Create custom component in place of overlaying OOTB component as your requirements are very specific to project and at the same time it will reduce code complexity.

Image is a atomic component to render image

Teaser is for to show image having call to action

OOTB component doesn't suits you project requirements.

Level 4
February 22, 2024

@imran__khan how to approach this requirement? Right now I've created a multifield component with file upload field for image and a textarea field for image description.

How to go about after this?

Imran Khan
Community Advisor
Imran KhanCommunity AdvisorAccepted solution
Community Advisor
February 22, 2024

Yes, it must be a multifield having image URL, title, description, call to action, etc. if required. On click of particular image, FE team have global or component popup to show required data.