Page 1 of 1

Using Text Links instead of the Extra Image Icons.

Posted: Thu Jan 29, 2009 12:47 am
by norman
It is possible to create an alternative layout that uses Text Links instead of the Extra Image Icons.

SETUP

Go to Design / Library / Layouts / Extra Images.

Right-click Extra Image Table and choose Copy.

Rename that copy to be Text Only Extra Image Table.

Edit Text Only Extra Image Table.

Look for the lines:

Code: Select all

					echo "<img width=\"$iconwidth\" height=\"$iconheight\" src=\"$icontouse\"";
					echo " alt=\"$alttext\"";
Replace them with:

Code: Select all

					echo "<span ";
Look for the line:

Code: Select all

					echo " />";
Replace it with:

Code: Select all

					echo ">$alttext</span>";
OPERATION

In Product Details / Layout / Extra Images / Extra Image Layout,
choose Text Only Extra Image Table.

You can use variables (Product Details / Properties / Extra Images)
ExtraImage0 Alt Text, ExtraImage0 Alt Text, ExtraImage1 Alt Text, etc
as text for these links.

Altering the table tags around this text is outside the scope of free support but can be done by editing the layout created above.