From c098be99bc24a834998437d401dabd9a5ac308e5 Mon Sep 17 00:00:00 2001
From: maxwell <maxwell@joindiaspora.com>
Date: Mon, 13 Sep 2010 15:08:39 -0700
Subject: [PATCH] MS IZ attempt one to fix remote profile images

---
 app/views/users/edit.html.haml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/users/edit.html.haml b/app/views/users/edit.html.haml
index d8866d2757..9901a8c73c 100644
--- a/app/views/users/edit.html.haml
+++ b/app/views/users/edit.html.haml
@@ -16,11 +16,11 @@
       = p.hidden_field :image_url, :value => @profile.image_url, :id => 'image_url_field'
       - for photo in @photos
         - if photo.url(:thumb_medium) == @profile.image_url
-          %div.small_photo{:id => photo.url(:thumb_medium), :class=>'selected'}
+          %div.small_photo{:id => request.host + photo.url(:thumb_medium), :class=>'selected'}
             = check_box_tag 'checked_photo', true, true
             = link_to image_tag(photo.url(:thumb_medium)), "#"
         - else
-          %div.small_photo{:id => photo.url(:thumb_medium)}
+          %div.small_photo{:id => request.host + photo.url(:thumb_medium)}
             = check_box_tag 'checked_photo'
             = link_to image_tag(photo.url(:thumb_medium)), "#"
     =will_paginate @photos
-- 
GitLab