hugo/docs/content/showcase/yslow-rules.md
Anthony Fok 68b424c233 docs: Clean up and align Showcase thumbnail images
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
2015-08-08 14:22:48 -06:00

15 lines
394 B
Markdown

---
date: 2014-04-07T10:45:00Z
description: Community project of YSlow rules translations
license: MIT License
licenseLink: https://raw.github.com/checkmyws/yslow-rules/master/LICENSE
sitelink: http://checkmyws.github.io/yslow-rules/
sourceLink: https://github.com/checkmyws/yslow-rules
tags:
- community
- documentation
- translation
thumbnail: /img/yslow-rules-tn.png
title: YSlow Rules
---