summaryrefslogtreecommitdiff
path: root/create-data.js
diff options
context:
space:
mode:
Diffstat (limited to 'create-data.js')
-rwxr-xr-xcreate-data.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/create-data.js b/create-data.js
index efb95cf..039f58b 100755
--- a/create-data.js
+++ b/create-data.js
@@ -1994,9 +1994,8 @@ OPTIONAL { ?image dcterms:license ?license ; }\
var obj = {};
obj.url = image.image.value;
- obj.width = image.width.value;
- obj.height = image.height.value;
-
+ obj.width = parseInt(image.width.value, 10);
+ obj.height = parseInt(image.height.value, 10);
var imageName = obj.url.split("/").slice(-1)[0];