Skip to content

Provide additional data for images #1

@atomicleopard

Description

@atomicleopard

It would be great to provide a data object for each image, rather than just a url.
For example, I'd like to add a class to each image so that I can overlay info/style them.
Might be useful to pass in a thumbnail while loading etc.
Something like

ameLightbox.show([{
  url: "",
  thumbnailUrl: "',
  class: ['my-class']
}])

Cool plugin, thanks for sharing it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions