1

(5 replies, posted in Juicebox-Pro Support)

Hi Steven,
thanks a lot again for your reply and sorry for my late one.
expandInNewPage is an option I've been definitely missing, otherwise I would've used it (silly me).
But I'll keep that in mind for future use, or just in case things won't get as they should the way I fixed the problem so far.
About the bug you mentioned, I'm glad it's being processed, solving it would make - an already great - jukebox even better!

I wish you a great day.
Giovanni.

2

(5 replies, posted in Juicebox-Pro Support)

Hi Steven, thanks a lot for your reply, which was very helpful!

I didn't actually implement the galleryWidth property, but you made me think about looking for more fitting ones, and I found "frameWidth": maybe I didn't make it clear (sorry) but I was actually referring to expanded fullscreen.

But then I realized that - somehow - the property also affected the normal view, and I tried to figure out another solution: I found out that the fullscreen container has a generated id #jb-glry-dlg, which remains the same regardless on which page the module instantiates the gallery  through the Drupal website, and regardles the number of the galleries rendered in the same page: in this second case, the div#jb-glry-dlg will contain the fullscreen view for all the galleries.

Upon this, I created some css rules with the restricted scope #jb-glry-dlg to adjust slightly the image size (the no need to fix the alignment), the caption width and the positioning of the slider triggers.

And... it seems to work now.

If I think that for mobile devices (not only lower resolutions) the page is already correctly rendered, without my changes to be rendered, maybe I found a good fallback.

I thought it was worth to share also for other users, but if you think that something sounds somehow "dirty" in this solution, please tell me, so I - and someone else eventually - can approach the issue even better.

Thanks a lot for the precious and rapid support!

Best,
Giovanni.

3

(5 replies, posted in Juicebox-Pro Support)

Hi all,
it's my first post here, and I'm quite new to juicebox, so I beg your pardon in advance if I'm making a silly question and/or in the wrong place...

I just implemented juicebox in a Drupal instance, custom responsive template.
Everything went smooth so far, but due to the presence of an absolutely positioned element on the left (ca. 50% from top), there's some odd overlapping between full-screen images and this element, which is basically a get-back link not positionable elsewhere.

So the question is: is there an easy (i.e. via options) way to set the whole full-screen block, including image and image caption, so that it has ~90% viewport width, ~5% margin-left and right, and of course auto height to preserve image ratio?

I got lost in the css, having there lots of inline styles generated on the fly by javascript, and I don't think it's wise to start a battle of !important styles...

Thanks a lot in advance for any help!!!

Best,
Giovanni.