[wp-trac] [WordPress Trac] #12186: Custom Background API and UI

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 23 09:13:18 UTC 2010


#12186: Custom Background API and UI
----------------------------+-----------------------------------------------
 Reporter:  ryan            |       Owner:           
     Type:  task (blessed)  |      Status:  new      
 Priority:  normal          |   Milestone:  3.0      
Component:  Themes          |     Version:  2.9.1    
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------

Comment(by dd32):

 > I have a quick patch that does tiling... but of course you have to use
 the background properties instead of an image tag so we loose the benefit
 like you mentioned and you don't get to see the full image.

 Yeah, I did the same thing, and discarded it for the reasons i mentioned.

 It might be better to modify the displaying function slightly in 2 ways:

  * If is_admin(): Change the selector from body to #background-preview
  * Is is_admin(): Change the img element from the fullsize (with Browser
 resizing) to the smallest non-croped thumbnail generated

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12186#comment:61>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list