use full screenshot on game details pages
[stouyapi.git] / data / templates / game.tpl.php
index 531fb282323382cbc26acaae8146c609ca803986..60f93266dececd292741e764493214e7d1f81851 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) ?>"/>