Revert "Fix size of posters pulled from Plex"

This reverts commit 81a8d93336.

Conflicts:
	data/interfaces/default/home_stats.html
This commit is contained in:
Jonathan Wong 2015-08-24 03:57:18 -07:00
parent c62ec71cfc
commit 4df8014102
4 changed files with 11 additions and 11 deletions

View file

@ -83,7 +83,7 @@ DOCUMENTATION :: END
<a href="info?item_id=${a['rows'][0]['rating_key']}">
% if a['rows'][0]['grandparent_thumb']:
<div class="home-platforms-instance-poster">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['grandparent_thumb']}&width=80&height=120&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['grandparent_thumb']}&width=300&height=450&fallback=poster);"></div>
</div>
% else:
<div class="home-platforms-instance-poster">
@ -111,7 +111,7 @@ DOCUMENTATION :: END
<a href="info?item_id=${a['rows'][0]['rating_key']}">
% if a['rows'][0]['grandparent_thumb'] != '':
<div class="home-platforms-instance-poster">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['grandparent_thumb']}&width=80&height=120&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['grandparent_thumb']}&width=300&height=450&fallback=poster);"></div>
</div>
% else:
<div class="home-platforms-instance-poster">
@ -143,7 +143,7 @@ DOCUMENTATION :: END
<a href="info?item_id=${a['rows'][0]['rating_key']}">
% if a['rows'][0]['thumb']:
<div class="home-platforms-instance-poster">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['thumb']}&width=80&height=120&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['thumb']}&width=300&height=450&fallback=poster);"></div>
</div>
% else:
<div class="home-platforms-instance-poster">
@ -171,7 +171,7 @@ DOCUMENTATION :: END
<a href="info?item_id=${a['rows'][0]['rating_key']}">
% if a['rows'][0]['thumb']:
<div class="home-platforms-instance-poster">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['thumb']}&width=80&height=120&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${a['rows'][0]['thumb']}&width=300&height=450&fallback=poster);"></div>
</div>
% else:
<div class="home-platforms-instance-poster">

View file

@ -57,17 +57,17 @@ DOCUMENTATION :: END
% if data['type'] == 'episode':
<a href="info?item_id=${data['parent_rating_key']}">
% if data['parent_thumb']:
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['parent_thumb']}&width=150&height=225&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['parent_thumb']}&width=300&height=450&fallback=poster);"></div>
% else:
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['grandparent_thumb']}&width=150&height=225&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['grandparent_thumb']}&width=300&height=450&fallback=poster);"></div>
%endif
</a>
% elif data['type'] == 'season':
<a href="info?item_id=${data['parent_rating_key']}">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['thumb']}&width=150&height=225&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['thumb']}&width=300&height=450&fallback=poster);"></div>
</a>
% else:
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['thumb']}&width=150&height=225&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${data['thumb']}&width=300&height=450&fallback=poster);"></div>
% endif
</div>
<div class="summary-content">

View file

@ -32,7 +32,7 @@ DOCUMENTATION :: END
% if item['type'] == 'season' or item['type'] == 'movie':
<a href="info?item_id=${item['rating_key']}">
<div class="poster">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${item['thumb']}&width=150&height=225&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${item['thumb']}&width=300&height=450&fallback=poster);"></div>
</div>
<div class="dashboard-recent-media-metacontainer">
% if item['type'] == 'season':
@ -47,7 +47,7 @@ DOCUMENTATION :: END
</a>
% elif item['type'] == 'album':
<div class="poster">
<div class="cover-face" style="background-image: url(pms_image_proxy?img=${item['thumb']}&width=150&height=150&fallback=cover);"></div>
<div class="cover-face" style="background-image: url(pms_image_proxy?img=${item['thumb']}&width=300&height=300&fallback=cover);"></div>
</div>
<div class="dashboard-recent-media-metacontainer">
<h3>${item['parent_title']}</h3>

View file

@ -36,7 +36,7 @@ DOCUMENTATION :: END
<li>
<a href="info?source=history&item_id=${item['row_id']}">
<div class="poster">
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${item['thumb']}&width=150&height=225&fallback=poster);"></div>
<div class="poster-face" style="background-image: url(pms_image_proxy?img=${item['thumb']}&width=300&height=450&fallback=poster);"></div>
</div>
<div class="dashboard-recent-media-metacontainer">
% if item['type'] == 'episode':