From 7f5d5b047076f734c55d527cea93bb166ff676e6 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 15 Dec 2009 12:24:22 -0800 Subject: Add the resize url to returned resource. --- modules/gallery/helpers/gallery_rest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') 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); -- cgit v1.2.3