search for: photorow

Displaying 1 result from an estimated 1 matches for "photorow".

Did you mean: photorec
2009 Nov 08
1
link_to_remote with image_tag using Paperclip
...ot;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| %> <div id="<%= outer %>"> <% photorow.each do |photo| %> <div id="<%= inner %>"> <% link_to_remote (image_tag(photo.mainimg.url(:thumb)), :url => {:action => ''projects/show'', :id =...