Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#6927 closed defect (bug) (duplicate)

Gallery option - clean code

Reported by: alastc's profile alastc Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5.1
Component: Gallery Keywords:
Focuses: Cc:

Description

The code used by the standard gallery (shortcodes) leaves something to be desired, although I can understand that you would want people who just turn it on to get something that looks decent.

There are two (at least) options that it makes sense to implement site-wide, rather than on a page by page, or gallery by gallery basis:

  1. Using a 'clean code' version, which does not add an inline styling block, and uses a list rather than a group of definition lists.
  1. Whether to link to the 'attachment page', or straight to the full size image. The latter would be very useful for people who'd like to use a lightbox style presentation, rather than using sub-pages.

There are a couple of related bugs that I'll be posting, the full explanation is here:
http://alastairc.ac/notes/web-applications/wordpress/clean-gallery/#proposed-changes

This is my first go at a bug for Wordpress, my background is usability & front-end code, so I'm afraid you wouldn't want any patch I could write...

Change History (2)

#1 @ryan
15 years ago

  • Component changed from General to Gallery
  • Owner anonymous deleted

#2 @ShaneF
15 years ago

  • Keywords gallery options html removed
  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.