Opened 16 years ago
Closed 15 years ago
#6927 closed defect (bug) (duplicate)
Gallery option - clean code
Reported by: | 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:
- Using a 'clean code' version, which does not add an inline styling block, and uses a list rather than a group of definition lists.
- 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)
Note: See
TracTickets for help on using
tickets.
#7607