If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Image Inserting and Viewing!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-24-03, 13:33
dba1977 dba1977 is offline
Registered User
 
Join Date: Sep 2003
Location: Kalamazoo
Posts: 42
Image Inserting and Viewing!

Hi,
I am facing difficulty in the following area of image insertion:
When I say img scr="//servername/folder/xyz.jpg" and open the html file I see the image file namely xyz.jpg....but when I try to open the file through the internet...the image is not SEEN! Some of the other files that access the same image source file when viewed shows the image, but some of them DO NOT!!!!! please HELP!!!!
Thanks
Reply With Quote
  #2 (permalink)  
Old 10-24-03, 19:01
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Re: Image Inserting and Viewing!

Quote:
Originally posted by dba1977
Hi,
I am facing difficulty in the following area of image insertion:
When I say img scr="//servername/folder/xyz.jpg" and open the html file I see the image file namely xyz.jpg....but when I try to open the file through the internet...the image is not SEEN! Some of the other files that access the same image source file when viewed shows the image, but some of them DO NOT!!!!! please HELP!!!!
Thanks
This is HTML not ASP. You have to remember that "servername" is not resolvable on the Internet. You can see it because it's either your computer's name or on your network. When you point to a file on the Internet (if you want to fully qualify it) you must use "http://" and then the fully qualified address of the server (such as "www.mysite.com"). Just the servername is not enough on the Internet. You may not need to fully qualify it if the object exists on the same domain as the web page. Then you can use an absolute path (/folder1/folder1/file.jpg) or relative path (images/pic.jpg). Absolute paths are referenced from the root of the website where relative paths are referenced from the location of the page on the website.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 10-31-03, 13:52
dba1977 dba1977 is offline
Registered User
 
Join Date: Sep 2003
Location: Kalamazoo
Posts: 42
Re: Image Inserting and Viewing!

Thanks!
Quote:
Originally posted by Seppuku
This is HTML not ASP. You have to remember that "servername" is not resolvable on the Internet. You can see it because it's either your computer's name or on your network. When you point to a file on the Internet (if you want to fully qualify it) you must use "http://" and then the fully qualified address of the server (such as "www.mysite.com"). Just the servername is not enough on the Internet. You may not need to fully qualify it if the object exists on the same domain as the web page. Then you can use an absolute path (/folder1/folder1/file.jpg) or relative path (images/pic.jpg). Absolute paths are referenced from the root of the website where relative paths are referenced from the location of the page on the website.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On