Package

ViewHelpers

ViewHelper Documentation

v:media.image.mimetype

Returns the mimetype of the provided image file

Arguments

src string

Path to or id of the image file to determine info for.

treatIdAsUid boolean

If TRUE, the path argument is treated as a resource uid.

treatIdAsReference boolean

If TRUE, the path argument is treated as a reference uid and will be resolved to a resource via sys_file_reference.

ViewHelper Resources

Schema Resources