master
Aevann1 2022-02-12 03:01:36 +02:00
parent 2eab7521e6
commit 374544cbd8
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@
{% if v %}
{% if sub %}
<img alt="/s/{{sub.name}} banner" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{sub.banner_url}}')" loading="lazy" src="{{sub.banner_url}}" width=100% style="object-fit:contain;max-height:30vh">
<img alt="/s/{{sub.name}} banner" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{sub.banner_url}}')" loading="lazy" src="{{sub.banner_url}}" width=100% style="object-fit:cover;max-height:35vh">
{% elif SITE_NAME == 'Drama' %}
{% set path = "assets/images/" + SITE_NAME + "/banners_bhm" %}
{% set image = "/static/" + path + "/" + listdir('files/' + path)|random() + '?a=21' %}