morpho should display common mime types (e.g., images)
Bug 4365 will give user the ability to import other entity. So we should have morpho can display those otherEntity, i.e. images.
#2 Updated by ben leinfelder about 9 years ago
I'm using the MIME type from
which may or may not include all mime types we'd be interested in, depending on the user's system.
I notice the png and xls are not interpreted and become just application/octet stream with the default mime.types file in the activation.jar.
We could include a beefier mime.types file in the Morpho distribution or programmatically enter specific mime types or just leave it.
#3 Updated by ben leinfelder about 9 years ago
I'll make sure to augment the MIME-type handling to include:
and any others that are added to this bug.
For non-displayable files (pdf), we should not show them as text (as is currently the case).
All data entities should be exportable on their own.
#4 Updated by ben leinfelder about 9 years ago
I'm going to see about adding the mime.types file to the morpho-config.jar under the META-INF/ directory as described here: