Skip to content

Adding a image title or data to the a tag #31

@dinc5150

Description

@dinc5150

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:

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions