Hi all,I have submitted an image file within /iw-home/httpd/iw-icons/ directory, however when i wnat it to be displayed the same on my the web page, it comes out as an empty place holder; with a cross sign in between.Apart from that, if i display any other image file which was being placed earlier in the directory comes in all colors.My query is, if i need to restart the server with -a or -ui or without any param OR any other activity needs to be performed to view the image on a webpage.Thanks,
If the image is something like iw-home/httpd/iw-icons/foo.jpg - then you want to reference it as simply src="/iw-icons/foo.jpg" -- of course I'm assuming this is for UI customization and not for web content that you are deploying somewhere else.
Thanks Adam, but as per your response... i am not getting the image displayed on browser; however all other images under same folder is viewable.
Can you post code (Perl, HTML, etc.)?Can you describe in more detail what you are trying to do?If images under the same folder are viewable - then chances are you're not typing the filename correctly for the one image (perhaps there's a non-obvious space or control-character embedded within the filename? - I've seen files that end with a space character that can drive you nuts for hours if not days)
Hey Adam,
This is the file as seen in the OS under httpd\iw-icons-rwxrwxrwx 1 root daemon 2302 Sep 14 09:04 tslogosmall.gif
and to access, this is what i am doing http://localhost/iw-icons/tslogosmall.gifand when i click on the URL i get a placeholder with a red cross on it. However, if i access any other image with same credentials under httpd/iw-icons directory, i am able to view that image.
I am not doing anything through programming or something special. Just want to know, placing any image under the directory specified, do we need to reset or restart the server?
Thanks,
Hey Adam, This is the file as seen in the OS under httpd\iw-icons-rwxrwxrwx 1 root daemon 2302 Sep 14 09:04 tslogosmall.gif and to access, this is what i am doing http://localhost/iw-icons/tslogosmall.gifand when i click on the URL i get a placeholder with a red cross on it. However, if i access any other image with same credentials under httpd/iw-icons directory, i am able to view that image. I am not doing anything through programming or something special. Just want to know, placing any image under the directory specified, do we need to reset or restart the server? Thanks,
Have you verified that the file does, in fact, contain the image you believe it does (by opening it up in some other manner)?
Have you tried using the actual server hostname instead of "localhost"?
Have you tried taking away the executable bits from the file? - it's an image file not a script / program.