PDA

View Full Version : Where should I place CGI Images?


dapernia
02-16-2005, 12:46 AM
Hello Friends:

I`m writing a small "C" cgi program that shows and enlarges a .gif image according to the value read from a file. The poblem is because the cgi doesn´t show my image, i`m placing it in a /images directory inside cgi-bin. But it doesn´t work out. I guess it`s because of permissions or something like that.

Where should i place my images then and how could i call them?

i`m writing this: <img src="/images/bar.gif".... > but i always get the problem..

Can anyone help me out?
Thanks

:D

mlseim
02-16-2005, 02:12 AM
Have you tried this yet ...

<img src="./images/bar.gif".... >

with a dot first?

dapernia
02-16-2005, 11:22 PM
I solved the problem...
I had to write <img src="http://xpdmait/s2/images..."
Thanks a lot anyway
:D