Lucee Function Reference

isimagefile()

Verifies whether an image file is valid.

Example

isimagefile(string path):boolean

Category

decision,image

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
path string  Yes The pathname of the file to be checked. The pathname can be absolute or relative to the CFM page and must be enclosed in quotation marks.