mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 06:21:37 +00:00
68b424c233
Some of the thumbnails in Showcase were out of place because of several irregularly sized thumbnails, and some of them almost 300KB in filesize. Resize them all to 600x400 (pixels), and use the `-tn.png` suffix. When necessary, the website snapshot is re-captured using gnome-web-photo. Then, the following commands (or a combination thereof) are used to crop and resize the image into a thumbnail, and to reduce its filesize: $ convert example.png -crop 900x600+0+0 \ -filter Lanczos2Sharp -distort Resize 600x400 \ example-tn.png $ pngquant --nofs -v --speed 1 --quality 65-80 example-tn.png $ optipng -o7 -zm1-9 example-tn-or8.png $ mv example-tn-or8.png example-tn.png
266 B
266 B
date | description | license | licenseLink | sitelink | sourceLink | tags | thumbnail | title | ||
---|---|---|---|---|---|---|---|---|---|---|
2014-12-27T20:00:00+07:00 | Tom Helmer Hansen | http://www.thehome.dk/ | https://github.com/tomhelmer/website-source |
|
/img/thehome-tn.png | thehome.dk |