Displaying 1 result from an estimated 1 matches for "80x70".
Did you mean:
  0x70
  
2009 Nov 08
1
link_to_remote with image_tag using Paperclip
I am creating a layout of images with links.
In Photo model:
   has_attached_file :mainimg, :styles => {:original =>
"465x365", :thumb => "80x70"}
In my Front controller:
   def index
     @photos = Photo.find(:all)
     @photos = Photo.paginate :per_page => 28, :page => params[:page]
   end
In index.dryml:
   <% outer = ''a'' %>
   <% inner = 1 %>
   <% @photos.in_groups_of(7).each do |photorow...