image::filename_mime_type (public)
image::filename_mime_type [ -filename filename ] \ [ -mime_type mime_type ]
Defined in packages/acs-content-repository/tcl/image-procs.tcl
Use ns_guesstype if we don't know the mime_type
- Switches:
- -filename (optional)
- Filename of image file
- -mime_type (optional)
- If known, the mime type of the file
- Author:
- Dave Bauer <dave@thedesignexperience.org>
- Created:
- 2006-08-27
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {$mime_type eq ""} { set mime_type [ns_guesstype $filename] } return $mime_typeXQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-content-repository/tcl/image-procs.xql