The placeholder in the Commons Media suggester is currently just a grey square and looks a bit dull. We should improve it.
|data-values/value-view : master||Fix incomplete thumbail CSS in Commons suggester|
I realized the missing thumbnails are nothing but a bug in our code, and submitted a patch to fix it.
MediaWiki Commons provides thumbnail images for all file types, even non-visual ones like .midi or .flac.
The gray, shadowed square currently serves three purposes:
- To visualize the loading state while a thumbnail is loading. We might want to add a loading spinner or something here, but this is not what this ticket is about.
- As a shadow around the thumbnail to make them distinguishable from each other. This is especially important on series of white thumbnails, as seen in the screenshot.
- When a thumbnail does not load. But that can only happen if the server does not respond and the request times out. I don't think it's even technically possible to have a special image in this case.
TL;DR: No placeholder image needed.