Note that Preview only works with the full page Preview using Internet Explorer (not in Firefox). Actinic's built-in Preview window doesn't work with this add-on (never has).
The following is an experimental workaround. Feedback would be appreciated.
Go to Design / Library / Layouts / Lightbox Images / Lightbox Support. The code there should be:
Code: Select all
<script type="text/javascript">
var GB_ROOT_DIR = "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e" >.</actinic:block>./<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e" ><actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e"><actinic:variable name="CatalogDirectory" />/</actinic:block></actinic:block>";
</script>
<script type="text/javascript" src="AJS.js"></script>
<script type="text/javascript" src="AJS_fx.js"></script>
<script type="text/javascript" src="gb_scripts.js"></script>
<link href="gb_styles.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="greyboxwithmultiimagesupport.js"></script>
Code: Select all
<script id="ajs_js" type="text/javascript" src="AJS.js"></script>
<script type="text/javascript" src="AJS_fx.js"></script>
<script type="text/javascript">
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e">var GB_ROOT_DIR = document.getElementById('ajs_js').src.replace(/AJS\.js$/,'');</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e">var GB_ROOT_DIR = "./<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e" ><actinic:variable name="CatalogDirectory" />/</actinic:block>";</actinic:block>
</script>
<script type="text/javascript" src="gb_scripts.js"></script>
<link href="gb_styles.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="greyboxwithmultiimagesupport.js"></script>