diff --git a/www/common/common-file.js b/www/common/common-file.js index 843196f83..b6c59e581 100644 --- a/www/common/common-file.js +++ b/www/common/common-file.js @@ -37,7 +37,9 @@ define([ data.name = file.metadata.name; data.url = href; - data.mediatag = true; + if (file.metadata.type.slice(0,6) === 'image/') { + data.mediatag = true; + } return data; };