[MIME_Type] will return the MIME type for a file extension. The tag accepts a file name or a file extension. For example [MIME_Type: myfile.gif'] will return image.gif. The MIME types are adapated from the Apache mime.types file Based on data from the Internet media type registry at http://www.iana.org/assignments/media-types/.
[MIME_Type: 'myfile.gif']
[MIME_Type: 'gif']
See the Lasso 8 Language Guide for examples of how to use this tag.
Tag Link | [MIME_Type] | Category | Utility |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 8.5.5 |
Output Type | String | Security | None |
Implementation | LassoScript | Sets | Lasso 8.5 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft