Page MenuHomePhabricator

Inline slideshows
Closed, DuplicatePublic

Description

Author: brianna.laugher

Description:
Occasionally people at Commons comment that it would be nice to have some kind
of slideshow feature, where you are able to view one image at a time and click
"previous" or "next" links to see the next in a series of images. I think the
best way to do this would be to link such a function to the gallery function for
images, where you can write

<gallery>
Image:Foo1.jpg
Image:Foo2.jpg|This one has a caption
Image:Foo3.jpg
</gallery>

This would neatly and easily define "previous" and "next" as well as showing a
caption if supplied.

Of course, once you've downloaded a page with a gallery on it, you've downloaded
all the images anyway, so you might argue that this is not going to save anyone
any download time. True, but it would be a great feature for showing off
higher-res pictures. I think it would be extremely popular at pages like
[[commons:Sunset]] and the Featured Pictures section on the Wikipedias and Commons.

Just an idea, thanks for your time.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58848

Details

Reference
bz5383

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:10 PM
bzimport added a project: MediaViewer.
bzimport set Reference to bz5383.
bzimport added a subscriber: Unknown Object (MLST).

daniel wrote:

Sometime ago I wrote a javascript plugin (it went over the wikitech list). Check it out at http://commons.wikimedia.org/wiki/User:Dschwen/Slideshow and tell me if you have any suggestions.

brianna.laugher wrote:

(In reply to comment #1)

Sometime ago I wrote a javascript plugin (it went over the wikitech list).
Check it out at http://commons.wikimedia.org/wiki/User:Dschwen/Slideshow and
tell me if you have any suggestions.

That's pretty nifty. I would like the ability to put a slideshow inline, though, and specify the image size, captions, and have auto/manual options with prev/next links.

This is how I envisage the syntax:

<slideshow width=500 caption="some images">
Image:foo1.jpg
Image:foo2.jpg|This one has a caption
Image:foo3.jpg
</slideshow>

brianna.laugher wrote:

I see in my first comment I wrote about attaching the slideshow to the existing gallery functionality. I must have changed my mind about it since then. ;) Sorry for the confusion.

[[mw:Extension:MultimediaViewer]]?

(In reply to Tisza Gergő from comment #5)

The MultimediaViewer plans for this are at
https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/161

What's a "collection" in "let users play all files for a collection"?

(In reply to Nemo from comment #6)

What's a "collection" in "let users play all files for a collection"?

Just a fancy name for the sequence of images shown by the viewer, I think. Right now that is all the images on the same page; we want to "detach" the viewer from the current page in the future (so that if you want, for example, to show the collection of all featured images when someone clicks on the POTD on the main page, you can do it with just a few lines of javascript).

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.

For galleries (mentioned in the task description markup) this was implemented in T128429.
For MultimediaViewer (mentioned in the project tags of this task) this seems to be T60848.