As far as I know Umbraco can handle all image types. I think if there is something that umbraco does not recognize it's a matter of adding the extension and mime-type in IIS?
You could create your own datatype which overrides the upload file datatype and extend it. I did the same for the tinyMCE datatype. Here is an example how you can create your own datatype. After you created your own datatype you can replace the upload datatype for the MediaTypes with your own datatype.
supported image types
Hello and thanks in advice
could someone please tell where can i find the list of supported image types.?
with supported i mean types that umbraco "understands" and so it can buil thumbnails.
Could also someone point me out to some info aboutt adding support for managing some other image types?
Fabio
Hi Fabio
As far as I know Umbraco can handle all image types. I think if there is something that umbraco does not recognize it's a matter of adding the extension and mime-type in IIS?
/Jan
Thanks Jan for your answer
I've tried to upload an image in eps format, but no luck with the thumbnails generation.
The file is ok, opened with photoshop it looks prettty fine.
But umbraco doesn't seem to be able to build the thumbs.
So i'm searching for some adivce about the supported type/formats
and about how can i manage more format.
Fabio
I've looked a little in umbraco source code (build-67270) and it seem that a thumbnail can be build for
jpeg,jpg,gif,bmp,png,tiff,tif images.
also formats are hard coded in umbraco.editorControls.uploadField where i found
public void Save() {
........
if (",jpeg,jpg,gif,bmp,png,tiff,tif,".IndexOf("," + ext + ",") > -1) {
...............................
generateThumbnail( ............
..............................
}
Generate thumbs depends on ImageCodecInfo gdi+ supported codes.
From this starting point can someone suggest ideas,approach to extend this support
maybe using imagemagik or similar?
Fabio
Any Idea?
Fabio
You could create your own datatype which overrides the upload file datatype and extend it. I did the same for the tinyMCE datatype. Here is an example how you can create your own datatype. After you created your own datatype you can replace the upload datatype for the MediaTypes with your own datatype.
Thanks
Good Idea.
Fabio
is working on a reply...