Extension talk:JavascriptSlideshow/Archive1

Line 30
Thanks for this great extension! I can't get the tag version to work, but the parser function is moving along.

I have a question about slideshow.js. Should line 30 say:

??

Robertlankford 16:09, 21 August 2008 (UTC)

Documentation
Great Extension... mostly. -Random User 8:08, 28 October 2008 (PST)
 * parser function works, tag call doesn't, can't find documentation as to how / why.
 * multiple calls of the parser function in a page do not seem to function; would love to know how to fix this.

Header warning
Trying with 1.13.2 and always get a warning: Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/wiki/extensions/Slideshow/slideshow.php:146) in /usr/local/apache2/htdocs/wiki/includes/WebResponse.php on line 10 the include_once statement is right after <?php in LocalSettings.php. Am I missing something ?

80.123.101.242 09:27, 11 December 2008 (UTC)

Transition problems
The transition "cut" is working, fade and blinddown are not. What could be the reason? -- Tom B. 10:21, 21 January 2009 (UTC)


 * Have you downloaded the scriptacolous scripts?? - Andreslucena 13:57, 1 June 2010 (UTC)

Location for support
Actually, is this the right place for questions anyway? -- Tom B. 10:21, 21 January 2009 (UTC)

Warning: Cannot modify header information etc.
As good place as any to ask, the extension definitely ain't working. I get exactly the same errors, testing on a fresh installation of MediaWiki 1.13.3. After all, in the blue box on the main page of this extension it currently says it has been tested on 1.11.0.

--91.13.66.189 22:53, 5 February 2009 (UTC)


 * Remove the ?> from slideshow.php. —Emufarmers(T 18:05, 7 February 2009 (UTC)

Key presses between frames

 * I think this is a great extension for displaying images with nice transitions.
 * But I look for a slideshow extension which continues with the next frame when I press a key
 * Maybe this could be considered in the future

Can I use this extension with 1.15.x?
My friend said that he can't install it on his 1.15.1? How will i install it? Chernobyl 13:21, 17 November 2009 (UTC)
 * Works for me on 1.15.1. To use other transtions other than cut, don't forget to download and copy the mentioned .js files. Everything need to know is ont the extensions page.--213.134.24.64 00:33, 19 November 2009 (UTC)
 * it works on 1.16 too. Adamtheclown 03:12, 14 December 2010 (UTC)

Incompatible with XML compatible skin ?
Hello, thanks for the extension. I successfully installed this extension in Mediawiki 1.15.1. However, when I changed my skin to XML-compatible one (as required by Extension:ASCIIMath4Wiki), this does not work anymore. All images were showed, instead of one slide at a time.

I cant' align my slideshow
I want my slideshow appear center on my homepage. I have this: 

Jisel. 17/04/2010


 * The hack I've done is  - Andreslucena 13:57, 1 June 2010 (UTC)
 * Unfortunately this does not work for me. The slideshow still shows on the left. I tried putting it in a table, but it ignores the align=center :(
 * Mitchelln 10:29, 14 October 2010 (UTC)

With MediaWiki 1.15.1 this works, using either format described by the author. HOWEVER, I too observe the trouble that the positioning if the display is not quite right. Text can't flow around the image, and the image resists any re-positioning. I gather the author did that to work around some flaw in Microsoft IE, but I wish there were some option. I really need to fit the image in "tightly" with words around it on the sides.

Could the author provide a little advice on this? Pauljohn32 06:05, 7 December 2010 (UTC)
 * same problem. and table does not work. Adamtheclown 05:39, 14 December 2010 (UTC)
 * not much of a solution, but this is what I did:


 * Adamtheclown 05:42, 14 December 2010 (UTC)

Will not work if your wiki is in the root folder
This works for 1.16 but not for 1.15.5. Adamtheclown 22:41, 10 December 2010 (UTC)

In 1.15.5 using Javascript Slideshow is strange, if I type:

and if:

...is not on the list of extensions, or is below sideshow, this extension will just show this:

If DPLforum is in my list of extensions, and slideshow is below it, it will only show this:

Tick Tock Adamtheclown 23:12, 10 December 2010 (UTC)
 * the problem was my wiki was in the root folder, instead of in /w/ or /wiki/ once this was fixed, there was no problem. See Template:Wiki-in-docroot Thanks User:Emufarmers for this help! He added an exception, then later moved the entire wiki to a subfolder. Adamtheclown 04:14, 14 December 2010 (UTC)

Widget
Probably not using this extension, despite being one of the examples, but pretty:

http://www.langantiques.com/university/index.php/Widget:MainPageGallery

Adamtheclown 17:47, 15 December 2010 (UTC)

1.16?
Doesn't seem to work in 1.16. The simplest tick/tock code from above just shows both "Tick" and "Tock" as static text and based div doesn't show up at all.
 * I am using 1.16, and the tick tock works and the  tags work. this does not work though:

Adamtheclown 20:14, 13 January 2011 (UTC)

Cannot modify header error for me too
I too get the error when I try to add this to my site. I searched slideshow.php for the "?>", but it's not there. Any ideas why it doesn't work?

MediaWiki	1.14.0 PHP	5.2.14 (cgi-fcgi) MySQL	5.0.91-log

This is the error I get: "Warning: Cannot modify header information - headers already sent by (output started at /home/content/w/a/t/watc/html/extensions/Slideshow/slideshow.php:7) in /home/content/w/a/t/watc/html/includes/WebResponse.php on line 16"

Wow, I feel like an idiot. Got it figured out. I right-clicked and saved the php and js file instead of clicking the link and copy/pasting the text. Geez...duh!

Is it possible to redirect image clicks?
I was just wondering if there is a way to redirect the clicks on the pictures? Right now if you click on the image, it takes you to that image's page. In my case, it would be nice if it would actually direct you to the page that image is being used on.


 * You can use the link= parameter. —Emufarmers(T 05:43, 21 January 2011 (UTC)


 * Thanks, but I can't seem to get it to work. It just directs to the image itself and not the page.  This is what I have in there:

--Ned4spd8874 04:00, 24 January 2011 (UTC)


 * link= doesn't work with the thumb parameter before MediaWiki 1.17. —Emufarmers(T 04:07, 24 January 2011 (UTC)


 * Crap! --Ned4spd8874 16:52, 24 January 2011 (UTC)

Javascript Syntax Error
I'm getting a syntax error that is keeping the slideshow from displaying properly. When viewing the source, I see this:



/*<![CDATA[*/

startSlideshow('blah', 1000, 'forward', 'cut');

/*]]>*/

Of course HTML tags should not be in the script syntax, but I can't figure out what is causing them to be placed there. What am I missing? By the way, Tidy is not installed as an extension.


 * I'm made change in slideshow.php:

$script = << /*<![CDATA[*/ startSlideshow('$id', $refresh, '$sequence', '$transition'); /*]]>*/ ENDSCRIPT; to $script .= "/*<![CDATA[*/ startSlideshow('$id', $refresh, '$sequence', '$transition');/*]]>*/ ";
 * After that this problem was solved. --Vpovilaitis 09:20, 26 January 2012 (UTC)

Serius bug re. maxWidth
Hi.

I noticed that when using image sizes, the slideshow has a much larger width than the specified image size. For example I have some 1024x768 images which I reduce to 500px using:

However, the javascript picks up the original image size rather than 500px. So spacer.style.width = maxWidth + 'px' is set to 768px rather than the specified 500px. The result is massive space to the right of the slideshow.

Could the code be modified to pick up the image size that is being passed in?

Thanks! --Mitchelln 14:16, 11 July 2011 (UTC)

MediaWiki 1.17.0 and the Fade Transition
I have tried everything, spending hours, but cannot get the fade transition to work on my website (or blindDown), although cut works great http://wheretosee.org/wildlife/Main_Page -- see the Photo Gallery page. And yes, I have loaded the scriptacolous scripts (I even went back three revisions, in case a later revision was incompatible). My code is:

Is there any issue with MW1.17.0? Or an issue with later revisions of scriptacolous?

Internet Explorer 9
I am using this extension with Scriptaculous for fade transition. This works well on all browsers I have tried except for IE9. IE9 seems to ignore the delay between the slides and displays them almost simultaneously. Has anyone else noticed this?--Paulreed 14:24, 21 November 2011 (UTC)


 * Which method are you using - the tag or parser function? I think you have to use the parser function.
 * --Mitchelln 17:23, 7 February 2012 (UTC)

Using more than one tag
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)

=Install crashes wiki in 1.16.5=

Hi. For some reason installing this extension on my wiki crashes the whole thing. I've created a 'Slideshow' directory in extensions and included the slideshow.php and slideshow.js files in the folder. As soon as I add the 'require_once' line of code to my LocalSettings file my whole wiki goes down.

I can't see any obvious solution to this. I running my wiki through MAMP and it's installed in the htdocs folder. I've had no problems with any other extensions. Any ideas? --Mqbpjdj2 (talk) 10:07, 18 May 2012 (UTC)