Hi, I tried to replace the code but the result was uncorrect
:
this was the original code:
<a onclick="return window.localPage.openImage('hikashop_main_image');" href="/media/com_hikashop/upload/splin_boots_ref_0159_010_49784865.jpg" rel="{handler:'image'}" target="_blank"><img id="hikashop_main_image" class="JMProductImgMain" style="vertical-align:middle" title="Splin Boots Green" alt="Splin Boots Green" src="/media/com_hikashop/upload/thumbnails/600x600/splin_boots_ref_0159_014_1.jpg" width="600" height="600"></a>
replacing the php code i now have the value of "href" after onclick function just alike the "src" one :
<a onclick="return window.localPage.openImage('hikashop_main_image');" href="/media/com_hikashop/upload/thumbnails/600x600/splin_boots_ref_0159_010_49784865.jpg" rel="{handler:'image'}" target="_blank"><img id="hikashop_main_image" class="JMProductImgMain" style="vertical-align:middle" title="Splin Boots Blue" alt="Splin Boots Blue" src="/media/com_hikashop/upload/thumbnails/600x600/splin_boots_ref_0159_0111.jpg" width="600" height="600"></a>
What i'd need to do is the opposite thing: the result should be something like the one below, where the image loaded in the path of the main preview is the original file in place of the thumbnail one (found in 600x600 folder), letting the system use the 600x600 image only for the thumbnails on the right:
<a onclick="return window.localPage.openImage('hikashop_main_image');" href="/media/com_hikashop/upload/splin_boots_ref_0159_010_49784865.jpg" rel="{handler:'image'}" target="_blank"><img id="hikashop_main_image" class="JMProductImgMain" style="vertical-align:middle" title="Splin Boots Blue" alt="Splin Boots Blue" src="/media/com_hikashop/upload/splin_boots_ref_0159_010_49784865.jpg" width="600" height="600"></a>
is it possible?
thank you so much