I’m a newbie to Ruby on Rails and like many others, I have been working
through the depot application in the Agile Web D. book.
I was wondering if anyone had enhanced the depot application to include
the upload of images for each product? The following describes the sort
of thing that I have been asked to produce for a client, so apologies if
the information is not articulated very well.
I would like to upload a main image that would automatically create a
thumbnail sized to 400px by 400px. And then to also upload a number of
supplementary images that would automatically create thumbnail images of
size 200px by 200px and then obviously to be able to click on these to
view the larger images using some fancy ajax.
If anyone has any samples of code that they would be willing to share,
then that would be great.