summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-09-12 15:34:00 +0200
committerYorhel <git@yorhel.nl>2020-09-12 15:34:02 +0200
commite41c051427c4698f8bf28561ba5d6de7951cd1c2 (patch)
treede5c381b9701544f7dda34e60287026a7b51dd8e /lib
parent722bb447e6218d522562007a4c8dcc4eb31f6582 (diff)
Misc::HomePage: Load thumbnails rather than full-size screenshots
Oops.
Diffstat (limited to 'lib')
-rw-r--r--lib/VNWeb/Misc/HomePage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Misc/HomePage.pm b/lib/VNWeb/Misc/HomePage.pm
index 620acca7..93a41434 100644
--- a/lib/VNWeb/Misc/HomePage.pm
+++ b/lib/VNWeb/Misc/HomePage.pm
@@ -35,7 +35,7 @@ sub screens_ {
p_ class => 'screenshots', sub {
a_ href => "/v$_->{vid}", title => $_->{title}, sub {
my($w, $h) = imgsize $_->{width}, $_->{height}, tuwf->{scr_size}->@*;
- img_ src => tuwf->imgurl($_->{id}), alt => $_->{title}, width => $w, height => $h;
+ img_ src => tuwf->imgurl($_->{id}, 1), alt => $_->{title}, width => $w, height => $h;
} for @$lst;
}
}