From 093f1c87073ac3b59762677f3a11461ec8349600 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 22 Feb 2016 14:55:10 +0100 Subject: [PATCH] url images --- app/views/portlets/render_public/_gallerycontent.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/portlets/render_public/_gallerycontent.html.haml b/app/views/portlets/render_public/_gallerycontent.html.haml index 6565f4f..584cc68 100644 --- a/app/views/portlets/render_public/_gallerycontent.html.haml +++ b/app/views/portlets/render_public/_gallerycontent.html.haml @@ -119,7 +119,7 @@ -if gallery_images.image_file - i = i+1 - %td=link_to image_tag(gallery_images.image_file.file.large.medium.small.thumb.url, :alt => "#{gallery_images.title}"), gallery_images.image_file.file.large.url, :rel => "prettyPhoto" + %td=link_to image_tag("http://"+HOSTNAME+gallery_images.image_file.file.large.medium.small.thumb.url, :alt => "#{gallery_images.title}"), gallery_images.image_file.file.large.url, :rel => "prettyPhoto" -if i % 4 == 0 =raw ""