Ticket #15860
Problem: If a graphic file is white in color AND has transparent background, as often a case with PNG and GIF files, there is no chance for it to be visible as icon in Media Library. It will always be white on white.
Need to figure out best approach to solve this problem while not introducing bloat for displaying images that don’t have this issue. Brainstorm in the comments.
Peter Kahoun 2:50 pm on January 6, 2011 Permalink | Log in to Reply
When it sounds like super-rare case, is it really needed to try to solve it? (Sorry, this may not be the kind of brainstorming you asked for…
(This form has eaten my comment when email was invalid. @Safari)
Matthew McGarity 4:51 am on January 7, 2011 Permalink | Log in to Reply
Not entirely accurate to say it’s always white on white. Alternating rows have a slightly grey color.
The login page’s display illustrates a good example: add a shadow to the image, like the one seen when visiting /wp-admin/. On white, it will be dramatic and obvious; on any other image, the shadow would be rarely (if at all) noticed.
Will Haynes 12:21 am on January 11, 2011 Permalink | Log in to Reply
Probably an obvious suggestion. But something like a photoshop grid background?
http://cl.ly/2w3c1P3D332U1U3P1g3a
At least you’d be able to tell that it was an image, and not blank.
Luke Gedeon 3:02 am on January 14, 2011 Permalink | Log in to Reply
I would hate to introduce the bloat that is needed to handle rare situations like this one, but if we are going to chase this at all, we might as well go with the industry standard of placing the images on a grey and white checkered background. Absolute position the image on top of a div with the checkered background.
Tracy Cannon 4:28 am on January 14, 2011 Permalink | Log in to Reply
Why not take the best of all the above suggestions and use the alternating row colors for a checked css background-image on “.media-icon img”? (Well… that only works in the list view… but you get the idea.)
JohnONolan 8:29 pm on January 18, 2011 Permalink | Log in to Reply
OSX (and to my knowledge, Windows too) don’t bother to address this issue – so I’m inclined to say that we don’t need a specific way to handle this.
Chelsea Otakan 8:59 pm on March 29, 2011 Permalink | Log in to Reply
I’m behind the checkered grey and white background. I don’t think it would be that much bloat (a two-color image pattern and a line or two of CSS).