new frame urls

This commit is contained in:
rlx 2011-08-06 18:18:39 +00:00
commit a4418e6c52
3 changed files with 3 additions and 3 deletions

View file

@ -202,7 +202,7 @@ pandora.ui.list = function(view) { // fixme: remove view argument
var fixedRatio = 4/3,
width = data.aspectRatio < fixedRatio ? size : size * data.aspectRatio / fixedRatio,
height = width / data.aspectRatio,
url = '/' + data.item + '/frame/' + width + '/' + data['in'] + '.jpg';
url = '/' + data.item + '/' + width + '/' + data['in'] + '.jpg';
return {
height: height,
id: data.id,