use full screenshot on game details pages v2.1.0
authorChristian Weiske <cweiske@cweiske.de>
Sun, 24 May 2020 20:08:29 +0000 (22:08 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 24 May 2020 20:08:29 +0000 (22:08 +0200)
data/templates/game.tpl.php

index 531fb28..60f9326 100644 (file)
@@ -56,7 +56,7 @@
    <div class="content">
     <?php foreach ($json->mediaTiles as $tile): ?>
      <?php if ($tile->type == 'image'): ?>
-      <img src="<?= htmlspecialchars($tile->urls->thumbnail) ?>" alt="Screenshot of <?= htmlspecialchars($json->title); ?>"/>
+      <img src="<?= htmlspecialchars($tile->urls->full) ?>" alt="Screenshot of <?= htmlspecialchars($json->title); ?>"/>
      <?php elseif ($tile->type == 'video'): ?>
       <video controls="">
        <source src="<?= htmlspecialchars($tile->url) ?>"/>