Modal Box Image Handler

  • Posts: 11
  • Thank you received: 0
13 years 5 months ago #18007

Hello,

I have Hikashop Essential installed and require some guidance as to where to modify the image modal popup code.

Instead of the image modal being sent the variables

rel="{handler: 'iframe', size: {x: 420, y: 400}}"

I would like to send it:

rel="{handler: 'image'}"

The reason for this is that when the modal handler is set to image it resizes the modal window to fit the screen size and appropriately resizes the image to fit..

The website to be modified is located here:

hairificwigs.com.au/index.php/online-shop/hats

Thanks for your help

Kind Regards
Matt

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
13 years 5 months ago #18016

That's a really good idea. We'll do the change on our end for next release as it's much nicer like that.
You can do it in the file administrator/components/com_hikashop/helpers/image.php

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

Time to create page: 0.055 seconds
Powered by Kunena Forum