Topic: Resize Gallery Dynamically (through API?)

I'm looking to re-initialise the gallery size when the screen resizes.

I have can reinitialise the whole gallery, but am worried about speed issues doing this.

I know I can call an API command to specifically set the width and height as pixels, but I'm looking to only resize the gallery as it would look if the screen had reloaded at that specific width/height.

Re: Resize Gallery Dynamically (through API?)

If you're looking to have a responsive gallery (whose size changes depending on the size of the browser window), then maybe this forum post will help.
https://juicebox.net/forum/viewtopic.php?pid=8305#p8305

Both of the methods in the forum post above simply resize the gallery as required (rather than reloading it).

I hope this points you in the right direction.

Re: Resize Gallery Dynamically (through API?)

Thanks for the help as usual Steven. I'll be looking into the thread shortly.

Re: Resize Gallery Dynamically (through API?)

You're welcome.
I hope you get on OK with the information in the forum post.