Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#14836 closed enhancement (fixed)

Allow for an Image Gallery with 1 column

Reported by: husobj's profile husobj Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: Gallery Keywords: commit
Focuses: Cc:


When you upload multiple images to a post you can insert a gallery from the media popup. However, it doesn't give you an option to insert a gallery that is only one column wide.

I often want to easily insert all the images in a single column and I would guess that other people may want to do this too - particularly for a photoblog style site, I've certainly visited many sites that display many images one after another. As there is no option in the media popup to insert a single column I imagine many people insert each image manually.

However, the gallery shortcode does handle columns="1" as a parameter but the select menu in the media popup does not give 1 as an option. Would it make sense to often 1 column as an option?

Attachments (1)

media.php.diff (442 bytes) - added by husobj 13 years ago.

Download all attachments as: .zip

Change History (5)

13 years ago

#1 @greenshady
13 years ago

I get questions about how to make single-column galleries from theme users all the time and point out that they should use [gallery columns="1"]. I never knew the select box didn't have an option for it.

Makes sense to me, and it's a simple patch.

#2 @husobj
13 years ago

  • Cc ben@… added

Yes, seems like a bit of an oversight that 1 column was omitted from the menu.

#3 @nacin
13 years ago

  • Keywords commit added; gallery columns removed
  • Milestone changed from Awaiting Review to 3.1

#4 @nacin
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16449]) Include a single-column option in gallery settings. props husobj, fixes #14836.

Note: See TracTickets for help on using tickets.