Fixed and closed #561: BMP images are now properly displayed in editor popup.
This commit is contained in:
parent
9555cbf61b
commit
bf3f6bb41f
3 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue