Passing data to Bootstrap Modal without JavaScript
I have a grid with image links on my page. When clicking one of them a modal should pop up with the image but in big format. Now I'm trying to achieve this without the use of javascript/jquery but just with data-attributes. At the moment I have this code: <!-- Generating the image link with PHP (laravel) --> <a data-toggle="modal" href="#myModal"> {{ HTML::image("img/$photo->Link", "$photo->Title", array("class"=>"thumbnail col-md-3")) }} </a> <!--The modal --> <section class="row"> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden=