Forum: Ruby on Rails Interesting arrangement

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
DanC (Guest)
on 2009-03-13 23:07
(Received via mailing list)
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.


Eric (Guest)
on 2009-03-14 00:06
(Received via mailing list)
DanC (Guest)
on 2009-03-14 01:05
(Received via mailing list)
Thanks Eric,

Exactly what I was looking for.

This topic is locked and can not be replied to.