1

I am using Sitecore 9.3 and SXA 9.3. I am trying to add SXA Gallery rendering to a page but I am unable to add images from experience editor into the gallery component.

Step1: Dropped the rendering on the page enter image description here

Step2: Clicked on "+" to add a gallery image. Getting the below screen after adding 1 gallery image and click save.

enter image description here

I am unable to add a picture from media library to Gallery Image and also unable to add more slides to gallery (gallery images). It gives a message "Image not found: #", as shown above. Unable to do anything after that from experience editor. Can anyone please help me with the same ?

2 Answers 2

2

To use a Gallery component in SXA, you need to first create a Gallery item using the Gallery template

enter image description here

which will look like this in the content editor Data folder: enter image description here

Then you can add media items under this folder: enter image description here

Select Gallery folder as data source while rendering component, it should render like this:

enter image description here

--------------------------------------------------- UPDATE -----------------------------------------------

If we try to add Gallery images directly from the Experience editor, then getting the same error as you reported in the original question. Seems like this is a bug in Sitecore 9.3 and from what I can see this issue is resolved in SXA 10.0 and later. As a workaround in SXA 9.3, consider either using the content editor or alternatively if you need to edit through Experience Editor, consider utilizing the Edit the related item button:

enter image description here

which should allow you to add or modify images and videos in the gallery.

2
  • I created gallery datasource item inside local data folder. I am unable to add more gallery images from experience editor. Jan 21, 2022 at 6:32
  • I've updated my answer. Jan 27, 2022 at 5:27
0

When the dialog box that is supposed to let you add images on the component doesn't let you do that, it may be:

  1. Failing to retrieve an indexed list of images and display those in the view. So one of the things you can do is to capture for related errors in the logs. From there you can find more clues to the underlying issue.

  2. Or if you wanted to test the Gallery component, add that component in the Experience Editor and in the local datasource created, open that in the Content Editor instead then add manually the Gallery Image from there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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