diff --git a/pandora/0xdb.json b/pandora/0xdb.json
index c1e6b2902..2c05f3bfb 100644
--- a/pandora/0xdb.json
+++ b/pandora/0xdb.json
@@ -502,6 +502,7 @@
"groupsQuery": {"conditions": [], "operator": "|"},
"groupsSize": 176,
"icons": "posters",
+ "infoIconSize": 256,
"item": "",
"itemView": "timeline",
"list": "",
diff --git a/static/js/pandora/ui/infoView.js b/static/js/pandora/ui/infoView.js
index ae3b9b6e9..aa964f6a9 100644
--- a/static/js/pandora/ui/infoView.js
+++ b/static/js/pandora/ui/infoView.js
@@ -2,10 +2,11 @@ pandora.ui.infoView = function(data) {
var listWidth = 144 + Ox.UI.SCROLLBAR_SIZE,
margin = 8,
+ posterSize = pandora.user.ui.infoIconSize,
posterRatio = data.poster.width / data.poster.height,
- posterWidth = posterRatio > 1 ? 256 : Math.round(256 * posterRatio),
- posterHeight = posterRatio < 1 ? 256 : Math.round(256 / posterRatio),
- posterLeft = Math.floor((256 - posterWidth) / 2),
+ posterWidth = posterRatio > 1 ? posterSize : Math.round(posterSize * posterRatio),
+ posterHeight = posterRatio < 1 ? posterSize : Math.round(posterSize / posterRatio),
+ posterLeft = Math.floor((posterSize - posterWidth) / 2),
editPoster = false,
that = Ox.Element(),
$list,
@@ -26,7 +27,7 @@ pandora.ui.infoView = function(data) {
height: pandora.$ui.contentPanel.size(1) + 'px'
})
.appendTo($info),
- $poster = $('')
+ $poster = Ox.Element('
')
.attr({
src: '/' + data.id + '/poster.jpg'
})
@@ -36,7 +37,10 @@ pandora.ui.infoView = function(data) {
top: margin + 'px',
width: posterWidth + 'px',
height: posterHeight + 'px',
- cursor: pandora.user.level == 'admin' ? 'pointer' : 'default'
+ cursor: 'pointer'
+ })
+ .bindEvent({
+ singleclick: togglePosterSize
})
.appendTo($data.$element),
$reflection = $('