MS IZ attempt one to fix remote profile images

This commit is contained in:
maxwell 2010-09-13 15:08:39 -07:00
parent 0b33e6b3eb
commit c098be99bc

View file

@ -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