Dynamic Choice Images with Magic Zoom Plus

Images added to each Choice. Images displayed as scaled down icons. Main image swaps when the Choice is selected.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Dynamic Choice Images with Magic Zoom Plus

Post by norman »

Install Dynamic Choice Images and then Magic Zoom Plus. If you’ve already installed in the wrong order it’s easy to fix. Just re-do the bit from the Magic Zoom Plus ReadMe that says
Run SellerDeck and do File / Snapshot / Import Design.
Choose the file "MagicZoomPlus****.acd" (from your Site folder) and proceed with the import
Once that’s done (or not needed because you did things in the right order) there’s a final step to combine the add-ons.

Go to Design / Library / Layouts / Product Image / Standard Product Image.
Look for the line:

Code: Select all

      id="im-<actinic:variable name="EncodedProductAnchor" />"
Immediately below it add:

Code: Select all

		<actinic:block if="%3cactinic%3avariable%20name%3d%22ShowDynamicChoices%22%20%2f%3e%20%26%26%20%28%3cactinic%3avariable%20name%3d%22RestoreMainImageOnMouseover%22%20%2f%3e%20%3d%3d%20true%29" >
			onmouseover="dcirestoremain(this,'<actinic:block php="true">echo str_replace('\\', '/', '<actinic:variable name="ProductImageFileName" encoding="perl" selectable="false" />');</actinic:block>')"	
		</actinic:block>
That's the two combined.
Norman
Post Reply