Hello
Try replacing the following in your templates scripts.php (../templates/j51_beaumont/php/scripts.php - LINE47)...
<!-- Vegas Background Slideshow -->
<script type="text/javascript" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery.vegas.js" charset="utf-8"></script>
<script type="text/javascript">
(function($) {"use strict";
$(document).ready(function() {
$('body').vegas({
delay: <?php echo $headerslideinterval ?>,
timer: false,
slides: [
<?php
foreach ($headerslideshow as $item) { ?>
{ src: '<?php echo $this->baseurl ?>/<?php echo $item->header_slide_image; ?>'},
<?php } ?>
]
});
});
})(jQuery);
</script>
With...
<?php if (!empty($headerslideshow)) { ?>
<!-- Vegas Background Slideshow -->
<script type="text/javascript" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery.vegas.js" charset="utf-8"></script>
<script type="text/javascript">
(function($) {"use strict";
$(document).ready(function() {
$('body').vegas({
delay: <?php echo $headerslideinterval ?>,
timer: false,
slides: [
<?php
foreach ($headerslideshow as $item) { ?>
{ src: '<?php echo $this->baseurl ?>/<?php echo $item->header_slide_image; ?>'},
<?php } ?>
]
});
});
})(jQuery);
</script>
<?php } ?>
Also ensure that all blank rows are removed from the 'Header Images' option in your template settings.
Ciarán