git.cweiske.de
/
stouyapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8152f83
)
use full screenshot on game details pages
v2.1.0
author
Christian Weiske
<cweiske@cweiske.de>
Sun, 24 May 2020 20:08:29 +0000
(22:08 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Sun, 24 May 2020 20:08:29 +0000
(22:08 +0200)
data/templates/game.tpl.php
patch
|
blob
|
history
diff --git
a/data/templates/game.tpl.php
b/data/templates/game.tpl.php
index 531fb282323382cbc26acaae8146c609ca803986..60f93266dececd292741e764493214e7d1f81851 100644
(file)
--- a/
data/templates/game.tpl.php
+++ b/
data/templates/game.tpl.php
@@
-56,7
+56,7
@@
<div class="content">
<?php foreach ($json->mediaTiles as $tile): ?>
<?php if ($tile->type == 'image'): ?>
- <img src="<?= htmlspecialchars($tile->urls->
thumbnai
l) ?>" alt="Screenshot of <?= htmlspecialchars($json->title); ?>"/>
+ <img src="<?= htmlspecialchars($tile->urls->
ful
l) ?>" alt="Screenshot of <?= htmlspecialchars($json->title); ?>"/>
<?php elseif ($tile->type == 'video'): ?>
<video controls="">
<source src="<?= htmlspecialchars($tile->url) ?>"/>