master
resolveFileType
function resolveFileType (fileType) { switch (fileType) { case 'png': case 'jpg': case 'jpeg':