mimetypeicon
v1.2.4
Published
Site that provides mimetype icons for hotlinking
Downloads
16
Maintainers
Readme
Mime Type Icon
Site that provides mime type icons.
How to use
You can use a file extension like /png, a filename like excel.xls.
You can also use the ?size=32 to get a consistent size of icons, and the ?default=<name_of_icon> to force a default icon if not found the file extension.
Examples
document.doc
document.docx
excel.xls
excel.xlsx
page.html
image.jpeg
file.js
Using a default
not-found.doc
Returning an icon SVG
Credits
Thanks to faenza-icon-theme
This project was inspired in https://github.com/ptarjan/stdicon and http://darvin.github.io/mimetype-icon/
Autor
| @giovanigenerali | | :---: |