Skip to content
Julien Barnier edited this page Mar 22, 2016 · 2 revisions

Magnific-popup notes

The Magnific Popup jQuery plugin used here has been modified to fit our needs.

By default Magnific Popup only get images source from :

  • href attribute (from <a> tags)
  • custom data-mfp-src attribute. Adding this attribute is possible, but means duplicating all images data if the generated HTML is self-contained.

So the Magnific Popup version here has been changed to use the src attribute instead of href.

Clone this wiki locally