</div> <?php } //end of @fromfull ?> <?php if (has_post_format('gallery')) { // Gallery ?> <div class="post-format"> <?php $images = hu_post_images(); if (!empty($images)) { ?> <script type="text/javascript"> // Check if first slider image is loaded, and load flexslider on document ready jQuery( function($){ var firstImage = $('#flexslider-<?php echo the_ID(); ?> ').find('img').filter(':first'), checkforloaded = setInterval(function() { var image = firstImage.get(0); if (image.complete || image.readyState == 'complete' || image.readyState == 4) { clearInterval(checkforloaded); $('#flexslider-<?php echo the_ID();
function alx_post_images() { return hu_post_images(); }