Extension talk:LightboxThumbs

Resizing
What would I have to do to resize images on the fly? Ideally, I'd like to set a maximum image dimension that would match the viewer's screen. Any way to do this? – Jonathan Kovaciny 21:50, 20 December 2007 (UTC)


 * You'd need some Javascript trickery. I'm not friends with Javascript so I haven't tackled this project, but it would be a great feature. Maybe it's in the works for a future version of Lightbox itself? &#x2014;alxndr&#x00a0; (t) 23:12, 23 May 2008 (UTC)

Fatal error
Got a error message - can you help ?:

Fatal error: Call to undefined method OutputPage::addStyle in /home/wikifixm/public_html/wiki/extensions/LightboxThumbs.php on line 64

--84.193.195.239, 12 January 2008


 * Sounds like you're not on MW 1.11; older versions don't have the addStyle function. You can put the s to the JS and CSS files directly into the skin(s) you use, or the hack would probably work too... &#x2014;alxndr&#x00a0; (t) 23:14, 23 May 2008 (UTC)

Problems with MediaWiki 1.11.1 ?
I installed the extension on a 1.11.1. It works fine while previewing the page in edit-mode. If I the page is saved and i view it, it only opens the image in an normal HTML page. Any ideas? --Stefan Haberstroh 13:48, 3 February 2008 (UTC)


 * I have the same problem with a 1.11.0. --83.189.120.177 13:55, 3 February 2008 (UTC)


 * Got a URL I can look at? Off the top of my head, I'm guessing it's a relative URL problem; the s to the JS and CSS aren't absolute. &#x2014;alxndr&#x00a0; (t) 23:16, 23 May 2008 (UTC)

Doesn't load the image
It does everything else--the screen goes dark and the circle keeps going around and around, like it's loading, only it never loads. --72.230.84.48, 8 March 2008


 * Interesting. Can you get to the full-size image normally from the image description page? Got a URL I can look at? &#x2014;alxndr&#x00a0; (t) 23:20, 23 May 2008 (UTC)

Lightbox isn't used for SVG files
Great extension! The Lightbox is a great effect, especially for galleries. However I've found that it doesn't work with SVG files. I'm using a lot of SVGs on my wiki, and would love it if they could be shown in a Lightbox. Does anyone know if this is possible? Thanks! - LNick 13:53, 27 May 2008 (UTC)

No lightbox effet
hello I use MW 1.11 and the lightbox doesn't look to work properly. i'v got 2 javascript errors
 * Builder is not defined


 * [Break on this error] objBody.appendChild(Builder.node('div',{id:'overlay'}));

when the page is loading


 * $("overlay") has no properties


 * [Break on this error] $('overlay').setStyle({ width: arrayPageSize[0] + 'px', height: arrayPag...

When i try to clic on the thumb

you can see it here with firebug enabled thank you for your answer --Roulion 14:25, 11 June 2008 (UTC)


 * It seems as the latest version of lightbox requires an additional javascript file. I fixed this by adding the following line to LighboxThumbs.php, before the same line with lightbox.js:

$out->addScript(' ');
 * --Ext 14:04, 17 June 2008 (UTC)