DG IZ; only a remote scaled photo is downloaded, not the full res

This commit is contained in:
danielvincent 2010-07-26 16:08:19 -07:00
parent 65acd48885
commit f6687316d6

View file

@ -29,7 +29,7 @@ class Photo < Post
album.person_id == person_id
end
def remote_photo
@remote_photo ||= User.owner.url.chop + image.url
@remote_photo ||= User.owner.url.chop + image.url(:scaled_full)
end
def remote_photo= remote_path