Template:Crew: Difference between revisions

→‎Automatic resize of roster image: it does cropping as well
(→‎How to Use: filenames changed to encourage consistency example)
(→‎Automatic resize of roster image: it does cropping as well)
Line 62: Line 62:
{{Tile|Tenzin|Zhou|Teal|Medical Officer}}
{{Tile|Tenzin|Zhou|Teal|Medical Officer}}


===Automatic resize of roster image===
===Automatic resize and crop of a larger image===
If an officer's roster image is too large for the nav, it will automatically resize it to fit. Note that while this is a handy feature, it may not produce as nice an image as a properly prepared roster image.
If an officer's roster image is too large for the nav, it will automatically resize by height and then crop off the right edit to fit. Note that while this is a handy feature, it may not produce as nice an image as a [[:Category:Roster images|'''properly prepared roster image''']].
{{Tile|Andrus|Jaxx|Red|Commanding Officer|Jaxxdark.jpg}}
{{Tile|Andrus|Jaxx|Red|Commanding Officer|Jaxxdark.jpg}}