Topic: Paperclip w/ Attachment_on_the_Fly

I want to display multiple images on one of my web pages. These images are on my server so I don't need to upload them. I just want to build something like a method like showThumb(image) and inside the method use the Attachment_on_the_Fly to display it like so:

def showThumb(image)
    image.attachment.s_640_width
end

So that in my view I can do this to display the image with <%= @object.showThumb(pic.jpg) %> But in the Attachment_on_the_Fly documentation it says 'Setup your models the same way you normally do with Paperclip'. But in the Paperclip documentation it only shows how to upload a file, create a database and a controller. I don't know how to set up the model and/or controller for what I want to do.

thanks,

mike