[wp-trac] [WordPress Trac] #33299: Improve featured image preview for transparent background images

WordPress Trac noreply at wordpress.org
Fri Aug 7 13:19:33 UTC 2015


#33299: Improve featured image preview for transparent background images
-----------------------------+------------------------------
 Reporter:  laura20          |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  4.2.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  ui
-----------------------------+------------------------------

Comment (by christopherabalos):

 Replying to [comment:1 atomicjack]:
 > Possibly detect if the image has transparency and place a backdrop over
 it - but then we'd need to detect the colours used, so that, if it is
 transparent with black text, we only put a white background, or, if it's
 transparent with white text, we only put black, etc.

 How about using multiple CSS gradients to create a checkered background
 behind the image?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33299#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list