Skip to main content

Modal Box Image Handler

More
15 years 3 months ago #18007 by tias2001
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.

More
15 years 3 months ago #18016 by nicolas
Replied by nicolas on topic Re: Modal Box Image Handler
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.219 seconds
Powered by Kunena Forum