Interesting arrangement

Hi all,

I have been asked to develop an app which basically displays 100
images on a homepage arranged in a 10 x 10 grid.

I have been using attachment_fu to upload images although I hear great
things about paperclip. Anyway, that is the easy part.

Does anyone have any advice about how best to arrange the images on
the page in a clever database way so I can just call all of the
pictures in my controller and they will each be allocated to a space
on the grid automatically?

I know this isn’t a pure rails problem, but whilst I can think of lots
of long-winded manual ways of arranging images, I am sure there must
be better way.



Thanks Eric,

Exactly what I was looking for.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs