Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/223
Narrative
As a user, I can see transparent images against a white background, so that they are readable
Acceptance Criteria
- Display a white background behind images, to make transparent images like this one more readable.
- This white background would not exceed the size of the image, so it is invisible in most cases.
- It would be added after the image has been loaded (to avoid an annoying white flash).
- It would be removed before the image is removed (to avoid an annoying white flash).
- The rest of the background screen would remain black, as we currently do.
- This could apparently be done with a single line of CSS, according to Mark and Gergo.
- This is an edge case, so if this seriously compromises performance, we may need to revisit it.
This ticket is in response to community reports like this one .
Related Bugs
https://bugzilla.wikimedia.org/show_bug.cgi?id=57620
Related Stories
#8 Media Viewer Front- End