summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-15 12:24:22 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-15 12:24:22 -0800
commit7f5d5b047076f734c55d527cea93bb166ff676e6 (patch)
tree707409e167c0e4122aa74dd6f25ee5e630508f92 /modules
parent22e813d0be73a95585cebcf30a1f4e03d7652d3a (diff)
Add the resize url to returned resource.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/gallery_rest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_rest.php b/modules/gallery/helpers/gallery_rest.php
index 5bd65901..6747bda8 100644
--- a/modules/gallery/helpers/gallery_rest.php
+++ b/modules/gallery/helpers/gallery_rest.php
@@ -35,7 +35,8 @@ class gallery_rest_Core {
$response_data = array("type" => $item->type,
"path" => $item->relative_url(),
"title" => $item->title,
- "thumb_url" => $item->thumb_url(),
+ "thumb_url" => $item->thumb_url(true),
+ "resize_url" => $item->resize_url(true),
"url" => $item->abs_url(),
"description" => $item->description,
"internet_address" => $item->slug);