Browse Source

support BMP. Closes #632

pull/639/head
Joe Germuska 11 years ago
parent
commit
bfb0fb2bb1
  1. 2
      source/js/Core/Media/VMM.MediaType.js

2
source/js/Core/Media/VMM.MediaType.js

@ -109,7 +109,7 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaType == 'undefined') {
media.link = d; media.link = d;
media.id = VMM.ExternalAPI.instagram.getInstagramIdFromUrl(d) media.id = VMM.ExternalAPI.instagram.getInstagramIdFromUrl(d)
success = Boolean(media.id); success = Boolean(media.id);
} else if (d.match(/jpg|jpeg|png|gif|svg/i) || } else if (d.match(/jpg|jpeg|png|gif|svg|bmp/i) ||
d.match("staticmap") || d.match("staticmap") ||
d.match("yfrog.com") || d.match("yfrog.com") ||
d.match("twitpic.com") || d.match("twitpic.com") ||

Loading…
Cancel
Save