I need to show a title of the selected image when any of the images are clicked. I tried adding a data attribute to the anchor tag, but it gets lost when the transferred into the smooth Products component.
So a couple of possible feature requests:
Allow the display of a title above/below the main image for the selected image
Allow adding extra attributes to the anchor (like the "data-" attribute
Adding an OnImageSelected callback to allow for custom JS calls
I'f I get the chance to do a proper implementation, I'll submit a pull request, but swamped at the moment, so I might have to just implement a workaround.
Hi,
I need to show a title of the selected image when any of the images are clicked. I tried adding a data attribute to the anchor tag, but it gets lost when the transferred into the smooth Products component.
So a couple of possible feature requests:
I'f I get the chance to do a proper implementation, I'll submit a pull request, but swamped at the moment, so I might have to just implement a workaround.