Preview image with Ruby

Hi

Two years ago, I’ve projected in PHP a web site for preview and
download JPG images; that site, use an APPLET (
http://www.lawrencegoetz.com/programs/lgviewer/ ) for the preview.
Now, I’m re-project the site with ruby and I don’t know how implement
it.

I’ve created a views named preview.rhtml with its controller and
model… but I don’t understand where I’ve to put the APPLET CLASS. In
the same directory of preview.rhtml or in public?

Thank’s.

On Oct 3, 2007, at 9:20 AM, luciosan wrote:

the same directory of preview.rhtml or in public?

Thank’s.


I’m using an evaluation license of nemo since 41 days.
You should really try it!
http://www.malcom-mac.com/nemo

This is probably a Rails question, so it should probably be directed
to the Rails list.
However, it’s a simple one.
Put your Java applet in the public directory or a sub-directory of
public, and link to it in your rhtml view.