Update all user thumbs to pms_image_proxy

This commit is contained in:
JonnyWong16 2021-03-25 18:14:26 -07:00
commit d46d0900cb
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
4 changed files with 6 additions and 10 deletions

View file

@ -26,7 +26,7 @@ DOCUMENTATION :: END
<%inherit file="base.html"/>
<%!
from plexpy import helpers
from plexpy.helpers import page
%>
<%def name="headIncludes()">
@ -53,7 +53,7 @@ DOCUMENTATION :: END
<div class="col-md-12">
<div class="table-card-back">
<div class="user-info-wrapper">
<div class="user-info-poster-face" style="background-image: url(${data['user_thumb']});">
<div class="user-info-poster-face" style="background-image: url(${page('pms_image_proxy', data['user_thumb'], None, 80, 80, fallback='user')});">
% if not data['is_active']:
<span class="inactive-user-tooltip" data-toggle="tooltip" title="User not on Plex server">
<i class="fa fa-2x fa-exclamation-triangle"></i>