terrymun/Fluidbox

Stacking order of opened images

Closed this issue · 2 comments

Sorry mate, I didn't mean to push you with my request yesterday.
Thing is, I checked your 1.2.4 and opened images now are kept behind other images, either thumbs or already loaded in some, to me, random manner. (Tested in Safari 7 and Chrome 33)
This also makes it undesirably possible to open several images at once.
This becomes most obvious in the galleries section or if you open an image that's not in your viewport center.

On another sight, something different: Safari 7 doesn't sharpen the image after zooming it, keeps it all blurred.

Sorry to make you fiddle around with this but that's my two observations from today.

People, contribute to this! It's a great plug-in!

I realized the issue arises from the z-index being interpreted as a string instead of an integer, so adding 1 to it means I'm appending 1 to the string (999 becomes 9991 instead of 1000). Will fix it as soon as I have access to the project files.

With regards to Safari not sharpening the image after zooming it, that is beyond my control. The default, ideal behavior would be having the background-image to scale and resolve correctly, as per Chrome o Firefox. Which version of Safari are you using?

Issue kind of fixed by now. It is still hard to avoid some flickering, but I have minimized the issue — by tinkering with the stacking context and pre-loading images.