Which file has the image popup function

  • Posts: 23
  • Thank you received: 0
11 years 6 months ago #98398

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #98483

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.

  • Posts: 23
  • Thank you received: 0
11 years 6 months ago #98500

Got it. thanks Xavier :laugh:

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

Time to create page: 0.069 seconds
Powered by Kunena Forum