Automatically adding the Extended Info Image - Actinic V10

Adds a Lightbox slideshow to your products.
Post Reply
norman
Site Admin
Posts: 1242
Joined: Sat Feb 07, 2004 9:55 pm

Automatically adding the Extended Info Image - Actinic V10

Post by norman » Wed Jan 26, 2011 6:43 pm

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.
Norman

Post Reply