From: Piet B. <pie...@ya...> - 2003-02-20 16:30:13
|
It has to be because the program is being run from the cgi-bin directory, and not from a regular directory. when the ids program lives in the cgi-bin directory, all of the files get treated as programs, and not as images. While this is ok for the index.cgi program, it's not so OK for the images that live in the same directory structure. so when the HTML pages from IDS show an <img> tag, it will direct the web browser to attempt to fetch an image from, for example... "http://ricknlisa.com/cgi-bin/ids/albums/pictures1/me.jpg" The webserver will say, "Hey! This is something in the cgi-bin directory! I have a configuration that says everything in cgi-bin is a program. Therefore There's a program I need to go run. Let's go find .../cgi-bin/ids/albums/pictures1/me.jpg and try to execute it!" Then it will attempt to execute the me.jpg program. Which isn't a program at all, it's a jpeg image file. Which is why none of the pictures show on your page. I bet there are a whole lot of 500 Internal Server errors in your web server error logs. --- Rick Pugh <ric...@mi...> wrote: > Clear DayHi All, > > I would like to start by thanking all of you who helped me earlier this week > with my installation issues, especially Ashley and Piet. I have worked > through those and now have another problem. It turned out that I was > missing a the IMAGE::INFO perl module. > > I can get IDS to run. You can go to > http://www.ricknlisa.com/cgi-bin/ids/index.cgi and have a look. Problem is > that I I can get absolutely no images to display in the program. This > includes template images, album images, or icon images. > > I have uploaded all of the images three times to make sure they were > uploaded in Binary format with WS_FTP. > > Two things I am not sure of though. First what file permissions should an > image file have? They are in my "cgi-bin" directory now and have a > permission of 755. Is this correct? Could this be causing my problems? I > don't think so because Images that did have a permission of 644 didn't > display either. > > Second, I have the IMAGE::MAGICK module installed. Does this mean that > PerlMagick is installed. Also, do I have to separately install ImageMagick > 5.3.1? I am a little confused on this whole thing. > > > > If anyone could help I would greatly appreciate it. > > > Thanks, > Rick > > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |