Fixed and closed #561: BMP images are now properly displayed in editor popup.

This commit is contained in:
Dario Solera 2010-10-27 19:54:45 +00:00
parent 9555cbf61b
commit bf3f6bb41f
3 changed files with 4 additions and 4 deletions

View file

@ -291,7 +291,7 @@ namespace ScrewTurn.Wiki {
private bool IsImage(string name) {
string ext = System.IO.Path.GetExtension(name.ToLowerInvariant());
return ext == ".jpg" || ext == ".jpeg" || ext == ".gif" || ext == ".png" || ext == ".tif" || ext == ".tiff";
return ext == ".jpg" || ext == ".jpeg" || ext == ".gif" || ext == ".png" || ext == ".tif" || ext == ".tiff" || ext == ".bmp";
}
protected void lstProviderImages_SelectedIndexChanged(object sender, EventArgs e) {