Fixed Teen Mega World posters.
This commit is contained in:
@@ -25,6 +25,7 @@ function getAvatarFallbacks(avatar) {
|
||||
src: source,
|
||||
expectType: {
|
||||
'binary/octet-stream': 'image/jpeg',
|
||||
'application/octet-stream': 'image/jpeg',
|
||||
},
|
||||
}));
|
||||
}
|
||||
@@ -42,6 +43,7 @@ function curateSources(sources, type = 'image/jpeg') {
|
||||
type: source.type || type,
|
||||
expectType: {
|
||||
'binary/octet-stream': type,
|
||||
'application/octet-stream': type,
|
||||
},
|
||||
}))
|
||||
.sort((resA, resB) => (resB.width * resB.height) - (resA.width * resA.height)) // number of pixels
|
||||
|
||||
Reference in New Issue
Block a user