Skip to content

Commit

Permalink
Merge pull request #59 from wp-cli/58-regen-readme
Browse files Browse the repository at this point in the history
Regenerate README for new ratio example
  • Loading branch information
gitlost authored Dec 15, 2017
2 parents 5bd517b + 0c52b18 commit b591fe0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,21 +214,22 @@ These fields will be displayed by default for each image size:
* width
* height
* crop
* ratio

**EXAMPLES**

# List all registered image sizes
$ wp media image-size
+---------------------------+-------+--------+-------+
| name | width | height | crop |
+---------------------------+-------+--------+-------+
| full | | | N/A |
| twentyfourteen-full-width | 1038 | 576 | hard |
| large | 1024 | 1024 | soft |
| medium_large | 768 | 0 | soft |
| medium | 300 | 300 | soft |
| thumbnail | 150 | 150 | hard |
+---------------------------+-------+--------+-------+
+---------------------------+-------+--------+-------+-------+
| name | width | height | crop | ratio |
+---------------------------+-------+--------+-------+-------+
| full | | | N/A | N/A |
| twentyfourteen-full-width | 1038 | 576 | hard | 173:96|
| large | 1024 | 1024 | soft | N/A |
| medium_large | 768 | 0 | soft | N/A |
| medium | 300 | 300 | soft | N/A |
| thumbnail | 150 | 150 | hard | 1:1 |
+---------------------------+-------+--------+-------+-------+

## Installing

Expand Down

0 comments on commit b591fe0

Please sign in to comment.