Hi there, 

I've been problems using this line:  "<%= image_tag 
@user.avatar.url(:medium) %>"

When I use that line, in the browser I just can see text instead of the 
picture. And RubyMine does not recognize "avatar". If I use this line the 
browser shows the picture but I cant resize the picture.  

*<%= image_tag @user.avatar_file_name %>*Any idea?. 

Thank you. 

Alfredo.

El sábado, 5 de abril de 2014 14:55:59 UTC+8, Alfredo Barrero escribió:
>
> Good afternoon everyone. 
>
>
> Im using the gem Paperclip in order to upload the images of the users to 
> my server. But I having problems with it. I don't know how to resize the 
> image size after uploading the image. 
>
> I'm using CSS to try to change the size but is not working. I think 
> Paperclip is showing the exactly size that it was saved. Could anyone help 
> me?. 
>
>
> Another question is about the location of the pictures that the gem 
> Paperclip is using. When I add a picture with this gem, Where it is saved?. 
>
>
> Thank you & best regards. 
>
> Alfredo.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0edcf87c-16f7-46a7-9fb1-bd43968db3b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to