image.pm: use large thumbnail instead of real photo in imgur plugin

This commit is contained in:
eleksir
2021-03-02 01:36:54 +03:00
parent 1991edc803
commit f669186787

View File

@@ -311,6 +311,8 @@ sub rabbit {
);
my $rabbit = imgur ($terms[irand ($#terms + 1)]);
# return just large thumbnail instead of real photo (that can be really huge)
$rabbit = sprintf '%sl%s', substr ($rabbit, 0, -4), substr ($rabbit, -4);
if (defined $rabbit) {
return sprintf '[(\_/)](%s)', $rabbit;