[owncloud-devel] File Preview for New File Type

Robin Appelman robin at icewind.nl
Tue Jul 29 20:03:27 GMT 2014


On Tuesday 29 July 2014 15:56:30 Aaron Boxer wrote:
> Thanks very much, Georg. It doesn't look to hard to do this.
> First, I need to set up my dev environment, and then I will try to
> implement this.
> 
> By the way, adding DICOM support will be a huge win, I think.
> 
> Aaron

Additionally, to make ownCloud recognize the mimetype use:

`\OC_Helper::getMimetypeDetector()->registerType(
	'dicom',
        'application/dicom'
)`

Note that this only has effect on files created after the mimetype is 
registered

 - Robin Appelman


More information about the Devel mailing list