Question:
how to link images in web page?
Alex
2012-10-02 15:01:33 UTC
hi
I have a folder name images with pictures in it in web hosting server but i cannot link or open the folder from web page .I would like to know if my url is
http://www.domainname.com/
what would be the correct path to link to a folder name images ?
i have tried http://www.domainname.com/images in the browser
it shows me page with 404 (Page Not Found) Error
I am using ms publisher web page and its html codes seems complex so i am trying to find the correct path and hyperlink it.
i appreciate your help
Three answers:
anonymous
2012-10-02 21:22:43 UTC
Word, WordPad, Publisher, PowerPoint and even the infamous FrontPage, including many Microsoft web editors should NEVER be used for web pages. They guarantee that your web pages will NOT be cross-browser compatible because of all the Microsoft Schema code it adds. Only IE and Maxthon understand this code. Also, OpenOffice is not a web editor.



You don't need to use the full domain name and path to your own image files from an HTML file also on the server for your site.



Absolute and Relative Paths: http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm



Link Codes:



The link URL/href will be the link that is shown in the browser's address field when you are on the page you want to link to. See:

How to Copy and Paste a URL (Web Address): http://www.stuffpit.com/stuff/copy-paste

How to Copy & Paste the URL in a New Browser Window: http://www.ehow.com/how_6309076_copy-url-new-browser-window.html



Image Link:



Text Description



==================================================

Why 72.167.232.198? Not your domain name nor site that I can see!



Initiating server query ...

Looking up the domain name for IP: 72.167.232.198

The domain name for the IP address is: p3nlh068.shr.prod.phx3.secureserver.net

Connecting to the server on standard HTTP port: 80

[Connected] Requesting the server's default page.

The server returned the following response headers:

HTTP/1.1 200 OK

Date: Wed, 03 Oct 2012 04:24:05 GMT

Server: Apache

Accept-Ranges: bytes

Content-Length: 544

Connection: close

Content-Type: text/html

Query complete.



Ron
Robert
2012-10-02 15:10:45 UTC
Am interested in whether your web hosting server is on your local PC or laptop or Mac? If so the proper URL might be something like:



http://127.0.0.1:80/images

or

http://localhost:80/images

... if still no good try the two above without the :80



If it is not local hosting maybe you have a URL in your documentation that tells you the prefix before "/images" that you need.



Another idea is to use Windows Explorer or DOS command DIR c:\images /s to work out where your images are. If you find this place, any browser can open a directory location (ie. the directory "images") by using that browser's Open File mode of use (in its File Menu).



Other useful information about local hosting is, what is the framework, or software, you are using to set up your local hosting eg. Mamp, Lamp, Zend, Apache etcetera?
anonymous
2012-10-02 17:02:11 UTC
Your folder will not come up like this. You can only set links for images, not the "image" folder itself.



If you want to insert image to your web page, you can do it just like this. /images/logo.jpg

If you want to link to a picture, you can do it like this. www.domainname.com/images/car.jpg



If you really like to list your "images" folder contents on a webpage, contact the hosting company and ask to to make this happen.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...