Hi,
We have just implemented Magic Zoom (which shows a high res image in a small window) on our Web stores. It works fine however items without images are displayed as either Red Cross on I.E or broken image on Chrome.....
This is what is inside the tag :
<link href="http://christmastreesandlights.co.uk/magiczoom/magiczoom.css" rel="stylesheet" type="text/css" media="screen"/>
<script src="http://christmastreesandlights.co.uk/magiczoom/magiczoom.js" type="text/javascript"></script>
<a href="<%=getCurrentAttribute('item','custitemmagiczoom')%>" class="MagicZoom" rel="opacity-reverse: true" id="zoom" title="Magic Zoom Image">
CASE WHEN <%=getCurrentAttribute('item','custitemmagiczoom')%> IS NULL THEN <img src="<%=getCurrentAttribute('item','custitem36')%></img> ELSE <img src="<%=getCurrentAttribute('item','custitemmagiczoom')%>"/ Height="100" ></a><br/>
I do not know if we can use case when formulas?? However I have created a custom field 'Rich Text' with ID {custitem_mz_holder} which has this formula CASE WHEN {custitemmagiczoom} IS NULL THEN '<img src=http://www.gardensandhomesdirect.co.uk/ghd/images/wht_space.jpg>' ELSE CONCAT(CONCAT('<img src=http://www.gardensandhomesdirect.co.uk/magiczoom/',{custitemmagiczoom}),'>') END
It displays correctly on the backend, and also Firefox doesn't have a broken image or red cross....and the zoom works !! So I changed the tag to read this at the end :<img src="<%=getCurrentAttribute('item','custitem_mz_holder')%>"/ Height="100" ></a><br/>but it still shows Red Cross & Broken Image.. :h_a_w::h_a_w:Any idea's?Thanks