     var title = $(this).attr("data-title");
        $("#myImage").attr("src", img);
        $("#myTitle").text(title);
        $("#myModal").foundation("reveal", "open");
      });
    });

    $("img.lazy").lazyload();
  </script>
</body>
</html>
