Add new png to show up when the image can't be loaded.

This commit is contained in:
Daniel Dominguez 2018-07-30 15:44:03 -03:00
parent ad0c356c1e
commit b448d23dbf
2 changed files with 1 additions and 1 deletions

View file

@ -67,7 +67,7 @@ class SelectThumbnail extends React.PureComponent<Props, State> {
this.setState({
thumbnailError: true,
thumbnailErrorImage:
thumbnail && thumbnail.length > 0 ? 'warning.png' : 'no-thumbnail.png',
thumbnail && thumbnail.length > 0 ? 'broken.png' : 'no-thumbnail.png',
});
}}
/>

BIN
static/img/broken.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB