Any particular reason you chose this one - the demo page doesn’t seem to be live any more which makes me think it is unsupported.
But to add a code block like this - without seeing the demo - should probably be in Page>Html Markup in the Before end section.
Wrapped in script tags so you have
<script type="text/javascript">
$ImageGallery1.settings.callbacks.afterImageVisible = function() {
var imgHeight = $(".ad-image img").height();
$(".ad-image-wrapper").css('height', imgHeight+'px');
}
</script>
David
freewaytalk mailing list
email@hidden
Update your subscriptions at: