echo $media['url']; ?> " alt="" style="position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; max-width: <?php echo $media['width']; ?> px;" src=""> </div></a> <?php } } // modals foreach ($data['media'] as $category) { foreach ($category['media'] as $media) { ?> <div class="work-modal work-category-<?php echo format_class($category['name']); ?> modal permalink modal-type-exhibition" id="media-<?php echo substr(sha1($media['fn']), 0, 6); ?> " tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true"><a class="closer" data-dismiss="modal">×</a></span><span class="sr-only">Close</span></button> </div> <div class="modal-body"> <a data-dismiss="modal"> <?php if ($media['mime'] == 'application/pdf') { echo '<object data="' . $media['url'] . '" type="application/pdf" width="780" height="585">';
sortBy: <span class="jsonstring sortBystring">null</span> }); </pre> <p></p> <div id="container" class="isotope"> <div class="block stamp"></div> <?php foreach ($data as $work) { ?> <a href="<?php echo get_url_from_name($work['name']); ?> "> <div class="item <?php echo format_class($work['type']); ?> "> <h1 class="title"><?php echo $work['title']; ?> </h1> <p class="year"><?php echo $work['year']; ?> </p> <p class="sortYear" style="display: none;"><?php echo $work['sortYear']; ?> </p> <p class="type"><?php