mod_img - An Apache module for image processing.

Available options in httpd.conf

ImgOutputType

The default output file type.

ImgMaxRatio

The ratio of the image size to permit. The default is 1.0.

ImgWorkDirectory

The directory to use for work files. The default, it's read from environment variables "TMPDIR", "TMP" or "TEMP" or chosen "/tmp".

ImgKeepWorkFiles

Available value is...

On

Keep all work files.

Off

Automatically remove all work files.

The default is On.

Available options in Web browser

Sizes

width=WIDTH

Specify the output image width. ex:

height=HEIGHT

Same as with=, but use for image height.

size=SIZE

Specify the manificient of the output image. size=x0.5 is same as width=0.5&height=x0.5

File types

type=MIMETYPE

Specify the output file type. Available file types is...

Trimming

trim=X,Y,WIDTH,HEIGHT

Specify the output file position. ex: trim=10,20,320,480