What do you mean ''CGI that will return image in an IMG tag''?
Is this a
CGI that generates an image and sends it (so it can be linked to in SRC
attribute of images) or does it generate some HTML with an image tag in
it? If so, how were you using this CGI before from other scripts
before?
Setting up RMagick must not be so painful (behalf the fact that it
requires FreeBSD 5 and you might have 4). You can find help on RMagick
on it''s forums at Rubyforge - the developer is extremely helpful,
friendly and often responds himself if you have a problem with an
install. Took about 1 hour to get it running on my TiBook after he
wrote an instruction on how to do it.
On 30-mrt-05, at 9:08, Greg McClure wrote:
> I''m running Rails development with Webrick because so
> far it''s been convenient, but I did have an issue ...
>
> It''s been murder trying to set up RMagick for a photo
> app I''m writing, both on my Windows box and on my
> FreeBSD server. For anyone out there with the
> skill/willpower, this is a *sorely* needed
> improvement, IMHO. Anyway, I already have a CGI
> written in Python which will return an image in an img
> tag as needed. The question is, how do I use it with
> Webrick/Rails?
>
> I tried placing the script, getimage.py, in
> /public/cgi, but it dawned on me -- :P -- that that
> wasn''t going to be enough. Is it possible to do what I
> wish to do, using another CGI to return the results I
> need under Webrick? Or do I have to use Apache''s CGI
> gateway? Or can *anyone* give me some advice on
> setting up RMagick? Argh ...
>
> Thanks in advance to anyone who can lend a hand.
>
--
Julian "Julik" Tarkhanov