Page 1 of 1

Automatically adding the Extended Info Image - Actinic V10

Posted: Wed Jan 26, 2011 6:43 pm
by norman
For Actinic V10 and standard Lightbox only.

If you want the Extended Info Image to automatically be added as an extra Lightbox image then do the following.

Edit layout Lightbox Image List and look for the line:

Code: Select all

$LightBoxImages = array('<actinic:variable name="LightboxImage1" encoding="perl" selectable="false" />',
Change it to be:

Code: Select all

$LightBoxImages = array(str_replace('\\', '/', '<actinic:variable name="ExtendedInfoImageFileNameRaw" encoding="perl" selectable="false" />'),
			'<actinic:variable name="LightboxImage1" encoding="perl" selectable="false" />',
Look for the line:

Code: Select all

		$LightBoxTitles = array('<actinic:variable name="LightboxTitle1" encoding="perl" selectable="false" />',
Change it to be:

Code: Select all

		$LightBoxTitles = array('', '<actinic:variable name="LightboxTitle1" encoding="perl" selectable="false" />',
You should be able to use LighboxImage1 through 10 as usual.