Skip to main content

Which file has the image popup function

More
13 years 6 months ago #98398 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.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #98483 by Xavier
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.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #98500 by renycheah
Got it. thanks Xavier :laugh:

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum