Skip to content

Commit

Permalink
Merge pull request #36 from octalmage/small-gifs
Browse files Browse the repository at this point in the history
Use fixed hight downsampled gif for previews.
  • Loading branch information
octalmage committed May 11, 2016
2 parents 0572b26 + 1ef3fd0 commit 2c328cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ function search()
if (showing)
{
win.height = 270;
$("#i").attr("src", res.data.images.original.url);
visitor.event("User interaction", "Preview").send();
$("#i").attr("src", res.data.images.fixed_height_downsampled.url);
visitor.event("User interaction", "Preview").send();
}
}
else
Expand Down

0 comments on commit 2c328cf

Please sign in to comment.