From 963f17ef108fb485ccd4f81164a0d595c38ad028 Mon Sep 17 00:00:00 2001 From: Charley DAVID Date: Wed, 31 May 2017 16:19:39 -0300 Subject: [PATCH] Add resizer --- app/views/games/index.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/games/index.slim b/app/views/games/index.slim index d24c380..fecb045 100644 --- a/app/views/games/index.slim +++ b/app/views/games/index.slim @@ -14,7 +14,7 @@ table.table.table-responsive tr.game - if index.zero? td.game--cover-url rowspan=games.count - = cover ? image_tag(cover, style: 'max-width:120px;max-height:120px;', class: 'rounded mx-auto d-block', title: 'wat') : nil + = cover ? image_tag("https://assets.calyh.re/resize?url=#{cover}", style: 'max-width:120px;max-height:120px;', class: 'rounded mx-auto d-block', title: 'wat') : nil td.game--code rowspan=games.count = game.game_code td.game--region = game.region td.game--title.text-overflow style="width:100%;max-width:0" title=games.first.title = game.title