Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Supported file types for avatar images View modes: 
User avatar
Member
Member
joeh42 - 5/9/2011 3:24:03 PM
   
Supported file types for avatar images
I noticed that I can't upload certain file types using the cms.user.EditPicture alternative form, which I believe came out of the box with Kentico, which is good.

But what file types are supported? I suppose I that I may need to ensure that the MIME types are all setup correctly, and the business may want to display on the page which file types are supported.

Also, is this configurable?

User avatar
Member
Member
kentico_michal - 5/10/2011 2:52:08 AM
   
RE:Supported file types for avatar images
Hi,

If you are using standard User avatar selector form control, only files with following extensions can be uploaded:

bmp,gif,ico,png,wmf,jpg,jpeg,tiff,tif

You can override these default extensions and configure allowed extensions according to your needs in the web.config file by adding CMSImageExtensions key to the appSettings section:

<add key="CMSImageExtensions" value="bmp;ico;png;jpg;jpeg" />

If you are using any custom form control, you need to check file extension in the code of the custom form control.

Best regards,
Michal Legen