Skip to content

How to use the img tag directly? #1942

Answered by dimsemenov
chuoke asked this question in Q&A
Discussion options

You must be logged in to vote

You may use domItemData filter to parse a custom markup https://photoswipe.com/data-sources#custom-html-markup

You must define width, height, and the src.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by chuoke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants