use new default poster, remove black posters from icon cache

This commit is contained in:
j 2016-01-10 12:56:46 +05:30
commit 59a3709f84
6 changed files with 61 additions and 32 deletions

View file

@ -58,7 +58,7 @@ oml.ui.previewDialog = function() {
keys: ['coverRatio', 'id', 'modified', 'title']
}, function(result) {
var item = result.data,
coverRatio = item.coverRatio,
coverRatio = item.coverRatio || oml.config.iconRatio,
size = getSize(coverRatio),
title = Ox.encodeHTMLEntities(item.title);
$image = $('<img>')