User:Purple Wrench/crop-me-do

From Homestar Runner Wiki

< User:Purple Wrench
Revision as of 00:38, 22 August 2021 by Purple Wrench (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A handy cropping template.


Parameters:

display - the CSS display value (default inline-block)
width and height - the width and height of the result, in pixels. Must be positive.
left and top - the offset of the result, in pixels. Must be positive. Defaults to the origin.
image - the image to be cropped.