Answer the question
In order to leave comments, you need to log in
How to display photos on a page in a modal window?
Hello dear experts. I have a question. There is a Wysiwyg editor on the site where users can embed photos. The problem is that then these photos remain static on the page, but the task is to make it so that when you click on the photo, it opens in a modal window.
Prompt libraries that can force img class bases to open in a modal window. Thank you very much. PS - Google didn't help.
Answer the question
In order to leave comments, you need to log in
almost all plugins of this type support selectors, like ".news-wrapper img". FancyBox definitely knows how.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question