[wp-trac] [WordPress Trac] #6927: Gallery option - clean code

WordPress Trac wp-trac at lists.automattic.com
Wed May 7 12:01:09 GMT 2008


#6927: Gallery option - clean code
---------------------+------------------------------------------------------
 Reporter:  alastc   |       Owner:  anonymous             
     Type:  defect   |      Status:  new                   
 Priority:  normal   |   Milestone:  2.7                   
Component:  General  |     Version:  2.5.1                 
 Severity:  normal   |    Keywords:  gallery, options, html
---------------------+------------------------------------------------------
 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.

 2. 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...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6927>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list