Stefan Goßner

Senior Escalation Engineer for SharePoint (WSS, SPS, MOSS, SP2010) and MCMS

Blogs

MCMS tip of the day - preventing upload of BMP files to image placeholders

  • Comments 1
  • Likes

MCMS makes it easy to create content for a web site. Everyone non-technical person can create articles using web author. And using Image and placeholder controls it is also very simple for them to add images to the page. Everyone familiar with websites knows that only certain image formats are supported for websites: JPEG, GIF, PNG.

But the most common format on Windows machines is the BMP format. What happens if a user tries to add an image with BMP format to a placeholder. Actually for Windows machines running Internet Explorer this will work as IE is also able to render image in BMP format. But other browsers on other Operating systems will not usually not be able to display the image correctly.

So it would be great if it would be possible to prevent that a user is able to add a BMP file to the placeholder.

The following article discusses how to achieve this:

http://blogs.technet.com/stefan_gossner/archive/2003/12/07/41865.aspx

Comments
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
Raw Html Fix