Always include the Product Image
Posted: Tue Jan 27, 2015 11:43 pm
Always include the Product Image.
If you display the product image scaled down and want to automatically use it as the first Lightbox image:
Edit layout Lightbox Image List (Design / Library / Layouts / Lightbox Images)and look for the line:
Change it to be:
Look for the line:
Change it to be:
Go to Design / Library / Layouts / Product Image / Standard Product Image.
Look for the line (the V404 bit may change):
Immediately below it is a BlockIf. Double click it. The first line should be:
Change it to be
Look for the line (the V404 bit may change):
Immediately below it is a BlockIf. Double click it. The first line should be:
Change it to be
You should be able to use LighboxImage 1 through 10 as usual.
If you display the product image scaled down and want to automatically use it as the first Lightbox image:
Edit layout Lightbox Image List (Design / Library / Layouts / Lightbox Images)and look for the line:
Code: Select all
$LightBoxImages = array('<actinic:variable name="LightboxImage1" encoding="perl" selectable="false" />',
Code: Select all
$LightBoxImages = array('<actinic:variable name="ProductImageFileName" encoding="perl" selectable="false" />',
'<actinic:variable name="LightboxImage1" encoding="perl" selectable="false" />',
Code: Select all
$LightBoxTitles = array('<actinic:variable name="LightboxTitle1" encoding="perl" selectable="false" />',
Code: Select all
$LightBoxTitles = array('', '<actinic:variable name="LightboxTitle1" encoding="perl" selectable="false" />',
Look for the line (the V404 bit may change):
Code: Select all
<!-- LBOX prefix V404 -->
Code: Select all
(<actinic:variable name="LightboxImage1" />
Code: Select all
(<actinic:variable name="ProductImageFileName" /> . <actinic:variable name="LightboxImage1" />
Look for the line (the V404 bit may change):
Code: Select all
<!-- LBOX suffix V404 -->
Code: Select all
(<actinic:variable name="LightboxImage1" />
Code: Select all
(<actinic:variable name="ProductImageFileName" /> . <actinic:variable name="LightboxImage1" />
You should be able to use LighboxImage 1 through 10 as usual.