Thumbnail options

crop

Before scaling the image down to fit within the size bounds, it first cuts
the edges of the image to match the requested aspect ratio.

Use crop="smart" to try to keep the most interesting part of the image,

Use crop="0,10" to crop from the left edge and a 10% offset from the
top edge. Crop from a single edge by leaving dimension empty (e.g.
crop=",0"). Offset from the right / bottom by using negative numbers
(e.g., crop="-0,-10").

Often used with the upscale option, which will allow enlarging of the image
during scaling.

quality=XX

Changes the quality of the output JPEG thumbnail. Defaults to 85.

In Python code, this is given as a separate option to the get_thumbnail
method rather than just alter the other

Other options

Valid thumbnail options are determined by the "thumbnail processors" installed.