Extension talk:JavascriptSlideshow/Archive1

Older stuff (pre 0.4) has been archived

Using more than one tag (fixed in v1.1)
Hi, when I'm using more than one  tags, the first   options are not working, and start behaving using the second or the latest ones if using more than two tags. In the previous version 0.2.1 (using MW 1.16) each tag worked as individuals. REX (talk) 03:35, 5 April 2012 (UTC)


 * That's my fault - I was aware of that problem when I redid the code, but I didn't know if anyone had more than one slideshow on a page. I'll try to fix that soon. Yaron Koren (talk) 13:39, 5 April 2012 (UTC)


 * Thanks a lot! :-) REX (talk) 13:50, 5 April 2012 (UTC)


 * I installed the 1.0 revision, but the Options/Attribute still troubled when using two or more tags. REX (talk) 02:26, 19 February 2013 (UTC)


 * The version number was not my idea :/ I would have give it 0.5. This is on the todo list. I'll take a look how to solve this. --DaSch (talk) 11:39, 19 February 2013 (UTC)


 * I fixed this, and it's now in git, and it should be in a v1.1 release soon. Note that this change requires $wgHtml5 to not be false to work. Njw (talk) 15:34, 21 February 2013 (UTC)

Any news for 1.19.1 ?
The examples are quite inviting and I would love to try this extension, but it crashes 1.19.1 at present - July 15 2012

thank you


 * It works fine on 1.19.2, so I suspect you just didn't install it properly. Let us know what the exact problem is if it's still an issue for you. User:Njw 10:01, 22 January 2013 (UTC)

Slideshow element is on top of text in Firefox and Chrome
When I insert the slideshow element on a page, it shows up in-line with the text on Internet Explorer, but on top of the surrounding text in both Firefox and Chrome. Upon closer inspection, it seems the problem is triggered whenever the images are given any options that cause them to be rendered as a floating block. Has anyone got any tips for how to correct rendering in all browsers? --143.97.2.35 09:07, 7 August 2012 (UTC)

License & code location
The extension page says "no license specified". I presume that means the code is GPLv2, as the rest of mediawiki, but it would be good if the authors could explicitly state this, so it can be more confidently used.

Also it would be reassuring if the code could be checked in to git sometime; code on the wiki feels somewhat scarier ;)

Njw (talk) 11:50, 15 January 2013 (UTC)


 * The Wiki is GFDL or CC by-sa… the source code also could be Public Domain. With no answer I'll put this to github so that I can maintain it. --DaSch (talk) 19:41, 25 January 2013 (UTC)


 * The author of this extension isn't active since years. So an answer can not be exacted. I'll put this into github. --DaSch (talk) 19:45, 25 January 2013 (UTC)


 * Found the answer on the author's talk page; it's under GPL: User_talk:Cmreigrut. I updated the infobox to reflect this.

Doesn't work correctly in IE6/IE8 (fixed in v1.0.1)
This doesn't work quite correctly in IE6 or IE8. What happens is that the images are scaled to about 10px wide (despite being set as 790px in code), and on the transition they flash for a moment at 790px, then go back to being compressed.

A workaround for this is to manually set the div containing each slideshow image to the correct width (800px). Then everything works as it should. So I changed my code from this:



to this:



This is surely due to a bug somewhere in the expectations of IE, but I don't have the time to hunt it out, now that I have a workaround. -- User:Njw 17:50, 11 February 2013 (UTC)

Note that the extra CSS suggested in the Installation section also fixes this issue for me. As can be seen in the above examples, though, these aren't embedded images, but standard images uploaded to the wiki. So perhaps the CSS should be added by default by the extension? -- User:Njw 09:50, 15 February 2013 (UTC)

Actually on further testing the CSS mentioned doesn't fix the issue for IE8, though it does for IE6. -- User:Njw 10:00, 15 February 2013 (UTC)

I just checked and this bug still exists in the newly released v1.0. Njw (talk) 13:10, 17 February 2013 (UTC)


 * I think the CSS could be included within the extension and maybe it could be improved to work with all versions of IE? --DaSch (talk) 18:09, 17 February 2013 (UTC)


 * I fixed the problem, and DaSch kindly applied the patch, so this is fixed as of v1.0.1. Njw (talk) 17:40, 18 February 2013 (UTC)

Slideshow can't be centered (fixed in v1.2.2)
The slideshow can't easily be centered. (This is the same issue as mentioned above under "I cant' align my slideshow")

Enclosing the whole lot in a  tag doesn't work, nor does adding a   css rule, nor does adding   to included image attributes. I think this is because of the way the slideshow uses absolute positioning, and needs some thought on how to fix.

Njw (talk) 15:31, 21 February 2013 (UTC)


 * This has been fixed in v1.2.2 Njw (talk) 11:42, 9 May 2013 (UTC)

Extension does not show up images (fixed)
I installed the Slideshow-Extension to my MW 1.18.5, but images do not show up. If I reload a page, all images of the slideshow show up for about 0.5 seconds and they disappear.

Only if I reupload my localsettings.php the slideshow seems to work, but when I edit the page, i got the same problem as before. Here is one example-page: http://www.emrichmail.de/wiki/Materialerstellung:Hauptseite


 * You seem to be using an older version; can you try with 1.2.0 and see if you get the same results? Njw (talk) 17:22, 18 March 2013 (UTC)


 * Oh, thanks. I did not notice, that i got an older version. Now everything works perfect!


 * Great, glad to hear it :) Njw (talk) 09:37, 19 March 2013 (UTC)

Known issues with 1.19.4 or other extensions? (fixed in v1.2.3)
After installing, my wiki won't show up again. I had to comment the "require_once" tag out for the wiki to become available. I'd say I did everything correctly (isn't that hard to unpack, rename, upload and enter the tag in the LocalSettings.php.

I really like to make this work so help is much appreciated. - 85.182.247.193 13:43, 5 April 2013 (UTC)


 * As far as I know it should work with any other extensions, and on that version of mediawiki. Can you follow the instructions at Manual:Errors_and_symptoms and post the error message you see here, please? Thanks. Njw (talk) 15:30, 5 April 2013 (UTC)


 * Warning: include(__DIR__/JavascriptSlideshow.i18n.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/web478/html/drachenliga/mediawiki/includes/LocalisationCache.php on line 455
 * Warning: include(__DIR__/JavascriptSlideshow.i18n.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/web478/html/drachenliga/mediawiki/includes/LocalisationCache.php on line 455
 * Warning: include [function.include]: Failed opening '__DIR__/JavascriptSlideshow.i18n.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/web478/html/drachenliga/mediawiki/includes/LocalisationCache.php on line 455
 * Warning: include(__DIR__/JavascriptSlideshow.i18n.magic.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/web478/html/drachenliga/mediawiki/includes/LocalisationCache.php on line 455
 * Warning: include(__DIR__/JavascriptSlideshow.i18n.magic.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/web478/html/drachenliga/mediawiki/includes/LocalisationCache.php on line 455
 * Warning: include [function.include]: Failed opening '__DIR__/JavascriptSlideshow.i18n.magic.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/web478/html/drachenliga/mediawiki/includes/LocalisationCache.php on line 455
 * Warning: require(/var/www/html/web478/html/drachenliga/mediawiki/__DIR__/JavascriptSlideshow.hooks.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/web478/html/drachenliga/mediawiki/includes/AutoLoader.php on line 1008
 * Fatal error: require [function.require]: Failed opening required '/var/www/html/web478/html/drachenliga/mediawiki/__DIR__/JavascriptSlideshow.hooks.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/web478/html/drachenliga/mediawiki/includes/AutoLoader.php on line 1008
 * - 146.52.153.51 14:56, 6 April 2013 (UTC)


 * Ah, are you running PHP 5.2? It looks like we have one line of code that presumes >= 5.3, which is tripping you up. I've created a patch which will hopefully make it into a release soon, but in the meantime you can fix it by searching for the line "$dir = __DIR__.'/';" in JavascriptSlideshow.php and replacing it with "$dir = dirname(__FILE__).'/';"
 * Njw (talk) 13:14, 16 April 2013 (UTC)


 * OK, the patch fixing this is now in the v1.2.3. Njw (talk) 11:41, 9 May 2013 (UTC)

Using this extension with an arraymap from Semantic Forms
So I was trying to use this extension with an arraymap from the Semantic Forms extension, but found it would fail to work right when one tried to set the size of the image. Example:

But when I tried to set the size of the image like so:

| }}

This failed to set the size. Additionally the size parameter would fail if it was set like so:300px.

The solution I found was to use the arraymaptemplate function. Unfortunately the size must be hard-coded, but at least it works. Here's an example:

First template:

Template being called on:



Hopefully this helps someone.

Christharp (talk) 16:49, 14 July 2013 (UTC)

Server error
it works fine in the local host slideshow work but when I transfer it to the server it doesn't load it just state server error but when i comment out requier_once it displays the site but when i put it back it displays server error what should I do?

Weird issue after updating to MW1.21.1
Hi, I updated my wiki to 1.21.1 the other day and installed the latest version of this extension. A weird thing is happening: when I install the extension everything works fine. A moment later, when I refresh the page with the slideshow on it or when I visit another slideshow nothing appears. White space where the show should be. When I comment out the extension in Localsettings.php and then un-comment it again the same thing happens. i get a slideshow the first time I visit one, none after that... Does this make sens to anyone? Example: http://www.langantiques.com/university/index.php/Art_Deco_Era_Jewelry#Art_Deco_Diamond_Ring_Slideshow AntiqueJewelryUniversity (talk) 10:14, 11 September 2013 (UTC)


 * I had this same issue, and it turned out I did not have the latest version 1.2.3 - An upgrade fixed it. The link in the extension page is still pointed to 1.0.3 - here is the new one: https://github.com/DaSchTour/JavascriptSlideshow/releases/tag/v1.2.3 Jrsovereign (talk) 15:28, 23 September 2013 (UTC)


 * The link in version history points to 1.0.3 because this is the last version that works without using HTML5! I'll have to check why this version doesn't work with MW 1.21.1. Therefore it is important to check which version you use. If you can use HTML5 you should use 1.2.3. From the first download link on the page you are guided to this version! --DaSch (talk) 11:12, 25 September 2013 (UTC)


 * Excellent, thanks for that, Jrsovereign - An upgrade to MW 1.21.2 and the extension fixed it (after commenting the extension out and back on in localsettings.php). AntiqueJewelryUniversity (talk) 13:58, 8 October 2013 (UTC)

Linking Pictures to take to a wiki page (Fixed)
Hi there, this is a great extension. I wanted to know if it was possible or in the works to link pictures to take to a specific page. I'm planning to use it on my homepage to feature certain pages but I don't want it to just take users to the picture file. Is this possible to do?

Thank You

I was able to do this and it works -

Wikimanz (talk) 14:11, 28 March 2014 (UTC)

Manual transitions
Is there a way to do the transitions manually, i.e. by having the user push buttons to go forward or backward in the series? Leucosticte (talk) 20:02, 10 May 2014 (UTC)

Slideshow showing up as non-animated series of regular images
I'm using MW 1.24 and the example slideshow is just showing up as a non-animated series of regular images. Leucosticte (talk) 02:10, 11 May 2014 (UTC)