Computing.Net > Forums > Web Development > HTML Editor - not loading images

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

HTML Editor - not loading images

Reply to Message Icon

Name: aliviasnt
Date: April 29, 2009 at 23:23:14 Pacific
OS: Windows Vista
Subcategory: HTML
Comment:

I need instructions for what Tech support told to me. I do not know how to do this. "If you view the page at http://gator815.hostgator.com/~aliv... it loads the images correctly on the page however, if you want to view the page correctly in the HTML Editor in File Manager you would need to set the images to load using http://gator815.hostgator.com/~aliv... for example as they will not load properly in the built-in HTML Editor without the absolute path. You can correct them by clicking on the 'Source' option from the bottom of the HTML editor."



Sponsored Link
Ads by Google

Response Number 1
Name: Radix-64
Date: April 30, 2009 at 08:18:48 Pacific
Reply:

Hi,
It seems that you are trying to load images to your HTML pages using the tools from your hosting provider, correct?

In general, these are the steps to load images:

The first thing you need to do is to upload the image itself to your hosting provider. Once you have that image loaded, test to see if it loaded successfully by going to the URL that has the image. You should see the image only when you go to that URL.

Now, if you want your image to appear embedded in your HTML page, you need to make sure that the URL for the image is coded in your HTML. You can either provide an absolute (complete) URL or a partial reference (relative) URL.

To make it easier for you, I'd suggest starting with an absolute URL. So if your image URL is located at (http://domain.com/images/picture.jpg) as an example, you would need to make sure that this URL is in your HTML code.

For a relative or partial reference, you could code your HTML to just (images/picture.jpg) as the source file image.

For both cases, do not include these ( ) in your URLs.

In both of the above examples, you have created an 'images' folder to upload all your images. This is just a best practice and is not necessary, but a nice way of categorizing your online content. So if you don't want to create an images folder, you could load your image to (http://domain.com/picture.jpg) and code that for the absolute URL. For the relative URL, you would code in your HTML (picture.jpg).


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: HTML Editor - not loading images

images on my webpage not loading www.computing.net/answers/webdevel/images-on-my-webpage-not-loading/271.html

Which HTML Editor www.computing.net/answers/webdevel/which-html-editor/2361.html

HTML file not opening automatically www.computing.net/answers/webdevel/html-file-not-opening-automatically/2207.html