if (meta.filetype === 'image') { callback(file.url, {alt: info}); } code example
Example: if (meta.filetype === 'image') { callback(file.url, {alt: info}); }
var path = "C:\\docs\\path\\file.exe";
path = path.replace(/\\/g,"?");
alert(path);
var path = "C:\\docs\\path\\file.exe";
path = path.replace(/\\/g,"?");
alert(path);