wp_enqueue_scripts
, admin_enqueue_scripts
, or login_enqueue_scripts
hooks. This notice was triggered by the codepen-embed-script
handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/jwblogger/jwBlogger/wp-includes/functions.php on line 6114This module leverages the jQuery pluging Magnify<\/a> to display galleries of long images by making the image container vertically scroll. <\/p>\n I wanted to display screenshots of recent website projects that the user could easily navigate. I figured a modal window would be the best tool to display these screenshots. <\/p>\n I really like the Magnify jQuery plugin because I can easly scroll through the images by clicking on the image itself, or easily dismiss the modal window by clicking anywhere outside the image. (As someone who has mobility challenges, large clickable areas that trigger my desired actions, rather than specific tiny icons, are very appealing.) But, in my case, I am trying to display long images ( > 2,000px high), and when displaying these images in the Magnigic popup, the image would be squished to the height of the window. <\/p>\n I wanted to find a way to vertically scroll these images from inside the Magnific Popup modal window.<\/p>\n I produced a modal window that maximizes the width of an image and allows vertical scrolling. Starting with Magnific Popup v1.1.0, I acheived my UI goals with a few extra styles and initializing the widget with a afew custom configuration options.<\/p>\n First, here is the Twig template used to trigger the modal window. This snippet represents one gallery of images, and here is an example data object<\/a> which would be used by this template<\/p>\nOriginal Problem<\/h3>\n
Solution<\/h3>\n