diff --git a/static/js/pandora/ui/flipbook.js b/static/js/pandora/ui/flipbook.js index b6995478..dc06e5e5 100644 --- a/static/js/pandora/ui/flipbook.js +++ b/static/js/pandora/ui/flipbook.js @@ -9,7 +9,7 @@ pandora.ui.flipbook = function(item) { var duration = result.data.duration, posterFrame = result.data.posterFrame || parseInt(duration/2), steps = 24, - framePrefix = '/' + item + '/frame' + that.height() + 'p', + framePrefix = '/' + item + '/' + that.height() + 'p', frames = {}; Ox.range(0, duration, duration/steps).forEach(function(position) { position = parseInt(position); diff --git a/static/js/pandora/ui/item.js b/static/js/pandora/ui/item.js index 693ddb1e..f6b9c886 100644 --- a/static/js/pandora/ui/item.js +++ b/static/js/pandora/ui/item.js @@ -181,7 +181,7 @@ pandora.ui.item = function() { var ratio = data.aspectRatio, width = size, height = size/ratio, - url = '/' + data.item + '/frame/' + size + '/'+data['in'] + '.jpg'; + url = '/' + data.item + '/' + size + '/'+data['in'] + '.jpg'; return { height: height, id: data['id'], diff --git a/static/js/pandora/ui/list.js b/static/js/pandora/ui/list.js index ff51487e..a2a93c7a 100644 --- a/static/js/pandora/ui/list.js +++ b/static/js/pandora/ui/list.js @@ -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,