Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

auto re-size of pop-up

More
15 years 7 months ago #27125 by n2n
auto re-size of pop-up was created by n2n
Is there a way to make the pop-up image auto re-size when browser screen is smaller/bigger?

I have joomla to auto switch to mobile template when access using mobile device, but the images come up top big

thx

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

  • Yiota
  • Yiota's Avatar
  • Visitor
15 years 7 months ago #27126 by Yiota
Replied by Yiota on topic Re: auto re-size of pop-up
No I'm afraid that something like this is not supported.

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

More
15 years 5 months ago #27127 by Kyle Witt
Replied by Kyle Witt on topic Re: auto re-size of pop-up
it's been a few months but figured I'd chime in. if i understand the question correctly i believe auto sizing is a function of the popup engine itself. for instance lytebox has an autoresize option in lytebox.js that is enabled by default:
this.autoResize	= true;	// controls whether or not images should be resized if larger than the browser window dimensions

highslide appears to have the option enabled as well (highslide.js):
allowSizeReduction: true, // allow the image to reduce to fit client size. If false, this overrides minWidth and minHeight

fancybox seems to have this option enabled as well. It does appear that slimbox and slimbox2 don't have this feature though ( source ).  I didn't look at all the scripts but it seems that the one's with this feature have it enabled by default. So try switching the popup engine.

They seem to work in firefox, but I can't attest to their functionality in a mobile browser.

FYI: There are many other options available in most of the engine js files that can be adjusted such as borders, transition duration and type, default box sizes, slide show options, navigation buttons etc.

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


Powered by Kunena Forum