Template:ImageSize
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
Purpose
This template takes an image's dimensions and outputs them as a resized amount while maintaining a proper aspect ratio fitting the image inside a set maximum dimension or an overall percentage.
Usage
{{ImageSize| Image | Size | Option }}
- Image — The full name of the image to be used (Required )
- Size — The size to convert the image to. Enter it as a pixel amount, with the px ending, or as a percentage, with the percent % sign. (Required )
- Option — For this use either width, height, or detailed. The height and width options format it to work in image codes. The detailed option formats it just to read out clearly which is which. Leaving it blank or entering anything else makes it default to a WidthxHeightpx format that also should work in image coding (Optional )