- Posts: 23
- Thank you received: 0
Which file has the image popup function
13 years 6 months ago #98398
by renycheah
Which file has the image popup function was created by renycheah
Hi, referring to the following code that popup the larger image:
<a title="" rel="{handler: 'image'}" target="_blank" href="/dev/media/com_hikashop/upload//brush/98/example_image.png" onclick="SqueezeBox.fromElement(this,{parse: 'rel'});return false;" id="hikashop_main_image_link"><img src="/dev/media/com_hikashop/upload/thumbnail_300x500//brush/98/example_image.png" alt="" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"></a>
Where is this code located and how to call this function. Thanks.
<a title="" rel="{handler: 'image'}" target="_blank" href="/dev/media/com_hikashop/upload//brush/98/example_image.png" onclick="SqueezeBox.fromElement(this,{parse: 'rel'});return false;" id="hikashop_main_image_link"><img src="/dev/media/com_hikashop/upload/thumbnail_300x500//brush/98/example_image.png" alt="" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"></a>
Where is this code located and how to call this function. Thanks.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #98483
by Xavier
Replied by Xavier on topic Which file has the image popup function
Hi,
The function is called in the view "product / show_block_img" in Display > Views.
And the function is in the helper of HikaShop, "administrator/components/com_hikashop/helpers/image.php" function "display()".
Be careful, the helper is a core file, if you edit it your changes will be lost at each releases.
The function is called in the view "product / show_block_img" in Display > Views.
And the function is in the helper of HikaShop, "administrator/components/com_hikashop/helpers/image.php" function "display()".
Be careful, the helper is a core file, if you edit it your changes will be lost at each releases.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #98500
by renycheah
Replied by renycheah on topic Which file has the image popup function
Got it. thanks Xavier :laugh:
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds