Trying to print an image from Magnific popup using PrintArea
Hi,
Is there anything to look out for when using PrintArea to print an image that is displayed from a Magnific Lightbox popup.
My code is
$(document).ready(function(){
$("#printButton").click(function(){
var mode = 'iframe'; //popup
var close = mode == "popup";
var options = { mode : mode, popClose : close};
$("mfp-content").printArea( options );
});
});
When executing, print window appears but only header & footer information is appearing in the preview.
Thanks in advance from this newbie for any assistance.
Todd