QuickSlideConfig = { galleries: ["#main-gallery", ".other-gallery", "ul.gallery-list>li>div"] }Could be an issue if any of those selectors returns more than one container element, but document.querySelector() could be used to only get the first of them.
So it doesn't autoscale a photo to the size of the popup?
Got it set at 800x600 as per the demo and all I get is the 100% zoomed image.
QuickSlideConfig = { loading_spinner_url = "loading-spinner.gif", max_width: 800, max_height: 600, auto_fit: true };And to clarify, the size of the popup is determined by the the size of the image first, then any max_width/size settings are applied, then if the auto_fit option is set the image is scaled to fit the window, if necessary.
QuickSlideConfig = { loading_spinner_url = "loading-spinner.gif", max_width: 320, max_height: 240, auto_fit: true };
<script src="quickslide.js"></script>
<a rel="quickslide" href="/folder/image.jpg"><img src="/folder/image.jpg" alt="" width="300" /></a>
It doesn't :(
Chrome 11.0.696.71 and FF 4.0.1
The popup seems to be working but the image is 100% size and not scaled at all.
I'll see if I can get you any more details.
Yes, showing as gigantic popup covering entire window, and yes it's inside <script> tags. I should've added the tags on here.
The content was being pulled from an MySQL db by PHP but I've just tried it with one of the same image files in a plain HTML file and it still happens.