Make WordPress Core

Opened 3 years ago

Last modified 8 months ago

#23768 new enhancement

Display a gallery as a slideshow

Reported by: ericlewis Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch
Focuses: javascript Cc:


To build on the improvements to the WordPress Media manager, it would be great to have an option built-in to output a gallery as a slideshow.

Change History (11)

comment:1 follow-up: @helen3 years ago

  • Keywords reporter-feedback added

Why a slideshow?

comment:2 @toscho3 years ago

  • Cc info@… added

Isn’t that plugin territory? You can filter the gallery output already or hijack the shortcode.

comment:3 in reply to: ↑ 1 @ericlewis3 years ago

Replying to helen:

Why a slideshow?

The current gallery shortcode implementation works fine, however a gallery with numerous images starts to break up the flow of a post on the front-end.

Replying to toscho:

Isn't that plugin territory?

It could always be plugin territory. But since the 3.5 media changes, there's a UI for creating multiple galleries within a post. Users don't have to make galleries separate from the post editing experience, which is what most gallery/slideshow plugins have been making up for. Since that's not an issue now, adding support for a slideshow in core would fit well in the UI.

comment:4 @helen3 years ago

  • Keywords close added; reporter-feedback removed

Are you asking for an option or to add slideshows to core? Because in the latter case, I think that would be a no, and in the former, that doesn't make any sense because core doesn't have different output.

comment:5 @markoheijnen3 years ago

  • Keywords close removed

Seems plugin territory to me too. Not sure what you want to see as a slideshow. Just output and let the theme fix it?

If you mean as in a jQuery slideshow, I don't see a way how to make this backwards compatible in a good way. Another thing is that WordPress shouldn't force in using a certain slideshow, specially when there are a lot of them.

comment:6 @markoheijnen3 years ago

  • Keywords close added

comment:7 @nacin3 years ago

I think it would be great (tentatively speaking) if core had some sort of basically slideshow functionality. But I'm not sure if they'd be a new type of gallery, or something that could be chosen as part of the "Link To" gallery ("Popup" rather than "Attachment Page" or "Media File", for example), or a global setting for all galleries.

comment:8 @ericlewis17 months ago

  • Summary changed from Add option to turn post gallery into a slideshow to Display a gallery as a slideshow

comment:9 @wonderboymusic15 months ago

  • Focuses javascript added
  • Keywords needs-patch added; close removed
  • Milestone changed from Awaiting Review to Future Release

comment:10 @Stagger Lee8 months ago

I vote for this.

As optional check, for them who want slideshow instead of standard gallery.
Believe me, I tested all plugins (and many themes with inbuild function) for highjacking shortcode for slideshow. You always, always see for breaf time first standard gallery layout, then it becomes slideshow. Translated it means, you simply cannnot use them for anything serious, even with heavy caching.

Think core would manage it better.

PS: Have slight feeling whole media management in WP core is a bit old philosophy. It is from old days when media management was not sufficient, and used only for few images per post. Now when you made something extraordinary of media in core let it lift to whole new level, it can.

Gallery shortcode is one example. Few images, looks nice any time. Mass of images, makes post/page unnecessary to long in height.

comment:11 @helen8 months ago

I am not very excited about the prospect of adopting a third-party slideshow JS library (and no, I don't think we should write our own) or what theme compat looks like.

Note: See TracTickets for help on using tickets.