Created
September 16, 2019 16:20
-
-
Save jbd91/4d1a6a523eb6752884f7d53135f323a9 to your computer and use it in GitHub Desktop.
jQuery Zoom Repeater Field printing multiple images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Specify array value so only the image for that row is printed. Also need to define URL as image field returns array of options. | |
jQuery(document).ready(function($){ | |
$('.ti--modal-image').zoom({url: '<?php echo $ti_modal_image['0']['url']; ?>'}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment