summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/gallery_rest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_rest.php b/modules/gallery/helpers/gallery_rest.php
index 865099af..d3e2beba 100644
--- a/modules/gallery/helpers/gallery_rest.php
+++ b/modules/gallery/helpers/gallery_rest.php
@@ -36,8 +36,14 @@ class gallery_rest_Core {
"path" => $item->relative_url(),
"title" => $item->title,
"thumb_url" => $item->thumb_url(true),
+ "thumb_size" => array("height" => $item->thumb_height,
+ "width" => $item->thumb_width),
"resize_url" => $item->resize_url(true),
+ "resize_size" => array("height" => (int)$item->resize_height,
+ "width" => (int)$item->resize_width),
"url" => $item->file_url(true),
+ "size" => array("height" => $item->height,
+ "width" => $item->width),
"description" => $item->description,
"internet_address" => $item->slug);