Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"File" field type and white images with transparent backgrounds #1103

Closed
chrisgherbert opened this issue Mar 7, 2018 · 1 comment
Closed

Comments

@chrisgherbert
Copy link

Expected Behavior:

When uploading an image using the "file" field type, it should be visible even if the image is all-white with a transparent background. These kinds are images are very common when dealing with logos or icons.

Actual Behavior:

All-white images are not visible because the preview box has a white background:
screen shot 2018-03-07 at 12 43 35 am

Standard WordPress image UI elements use a checkerboard background or a light gray background:

Featured Image Example

screen shot 2018-03-07 at 12 49 55 am

Media Library Example

screen shot 2018-03-07 at 12 50 25 am

@jtsternberg
Copy link
Member

I like it. Added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants