summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_rest.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/gallery_rest.php')
-rw-r--r--modules/gallery/helpers/gallery_rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_rest.php b/modules/gallery/helpers/gallery_rest.php
index 6747bda8..865099af 100644
--- a/modules/gallery/helpers/gallery_rest.php
+++ b/modules/gallery/helpers/gallery_rest.php
@@ -37,7 +37,7 @@ class gallery_rest_Core {
"title" => $item->title,
"thumb_url" => $item->thumb_url(true),
"resize_url" => $item->resize_url(true),
- "url" => $item->abs_url(),
+ "url" => $item->file_url(true),
"description" => $item->description,
"internet_address" => $item->slug);