May be you can try to check url for you thumbnails for example:

# has_att.. :image

if photo.image.blank? or photo.image.url(:small).blank?
#
end

On 5 апр, 08:13, "[email protected]" <[email protected]> wrote:
> Hi All,
>
>   My application is using paperclip and its working fine without any
> problems, I am able to generate the thumb images and big images from
> actual uploaded images. There are many images already uploaded by the
> users. Now I want to create small images from the original uploaded
> image. For the newly uploaded images its working fine but how can I do
> the same for already uploaded image??
>
>   if photo.get_photo(:small).nil?
>
>   end
>
> what the code I can write inside or any other way I can do the same??
>
> Thanks,
> Ramu.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to