View Full Version : Accessing .jpg files on my site using Internet Explorer
candeconsulting
6-13-03, 04:55 PM
I want to view the pictures I have uploaded to my site using Internet Explorer. When I type in the path
www.candeconsulting/uploads/boat.jpg, I get a 404 message, file not found. Is there some other path name that I should be using? I can see the files using FTP and they are under the /uploads directory.
Thanks
Where did you put the "uploads" directory? Is it inside of your htdocs directory or did you happen to put it outside of htdocs?
I tried to just go to http://www.candeconsulting.com/uploads/ and got a 404 error, which means to me that the uploads directory does not exist within htdocs.
candeconsulting
6-16-03, 10:04 AM
My uploads is not under htdocs. If that is where it should go, to be able to access the path that you tried, I will change it and give it a try.
Thanks for your help!
any viewable files MUST go into htdocs. By definition, htdocs is the viewable area of your site. htdocs is the root of your viewable site.
candeconsulting
6-17-03, 10:32 AM
I have created the uploads directory in htdocs, and can now view the directory through IE. But when I click on the file Sample.jpg it is not displayed? Also, I want to display this file on a webpage, but I cannot seem to get the correct path? What would be the path name that I would put in this HTML code to display the Sample.jpg picture: <IMG SRC="Sample.jpg" ALT="Agents Picture">
Thanks!
www.candeconsulting.com/uploads/ - this shows the file Sample.jpg
The Visitor
6-17-03, 12:25 PM
I'm getting an "image cannot be displayed because it contains errors" message. It was probably uploaded in ascii instead of binary. You may want to re-upload it as a binary and try again.
Also, if you're calling it from outside the upload directory, you're going to have to specify the directory. <img src="upload/Sample.jpg" alt=Agent Picture" />
Also, some unsolicited advice :).
Files on Unix systems are case sensitive, so most people find it useful to adopt a single naming strategy and use it throughout their site. Naming all files in lower case works best for me. :)
candeconsulting
6-17-03, 04:06 PM
I got it to work!!!! Thanks to all for your help and advice. This forum is a great tool for getting the help I needed.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.