Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 02-14-2004, 06:05 PM
liberator liberator is offline
Hatchling Croc
 
Join Date: Feb 2004
Location: Liverpool, UK
Posts: 4
Default

Hi,

I'm having a problem whereby some images on my site are not loading. I know my html is correct as the text and css is showing correctly, and a friend is able to view the images correctly on her pc.

On a related issue, she cannot view images on a subdomain of my site, which again has the correct code. This leads me to think it's not just a browser issue.

Could it be a server problem? Any help is appreciated.
Reply With Quote
  #2  
Old 02-15-2004, 04:55 AM
Passh Reloaded's Avatar
Passh Reloaded Passh Reloaded is offline
Hatchling Croc
 
Join Date: Jan 2004
Posts: 44
Default

If you are pretty sure is not your HTML, then copy the image address and paste it into the address bar and you SHOULD see it. If not, I'm sorry but your code does not have the correct paths (most probable).

If it's fine, reload your page and get a DSL connection.
Reply With Quote
  #3  
Old 02-15-2004, 06:56 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Ditto. Right click on the pictures and select properties. Be sure they are linking to http NOT c://..... or whatever. Just because the text shows up doesn't mean the pictures are linked properly. Most likely they're linked to a folder on your hardrive and/or the pictures are stored in cache.
Reply With Quote
  #4  
Old 02-15-2004, 07:09 PM
liberator liberator is offline
Hatchling Croc
 
Join Date: Feb 2004
Location: Liverpool, UK
Posts: 4
Default

As far as not seeing the pictures I have now been able to sort that out. The problem was actually my Norton. In "Privacy Control" I had "Enable Privacy ticked which blocked me seeing any pictures. With that unticked...I see the pictures.

What I need to really now know is why under the sub-domain I only see an "Index Of" site? It lists the files but no site. Any help would really be appreciated.

Thanks.
Reply With Quote
  #5  
Old 02-15-2004, 07:13 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Then that means you're missing an index.htm file. The index file MUST be in the root of the subdomain folder.

PS Glad you got the picture thing figured out
Reply With Quote
  #6  
Old 02-16-2004, 12:44 PM
liberator liberator is offline
Hatchling Croc
 
Join Date: Feb 2004
Location: Liverpool, UK
Posts: 4
Default

I already have an "index.html" file in my directory. How do I link files in the sub-domain? I know my files on my main site can be linked "/images/pic.jpg" etc, but what's the full link for files in the subdomain folder?

Thanks again for any help.
Reply With Quote
  #7  
Old 02-17-2004, 07:09 AM
Passh Reloaded's Avatar
Passh Reloaded Passh Reloaded is offline
Hatchling Croc
 
Join Date: Jan 2004
Posts: 44
Default

You cannot link images from your main site to your subdomain with paths ("../images/" or "/images/") cause it's not under it's scope.

For that, you'll need to duplicate your "images" folder into the subdomain ("/images/" copy into "/subdomain/images") or use absolute links instead paths in your subdomain images ("http://www.mysite.com/images/" not just "/images/")

If you use hotlinks scripts, be sure to allow your domain and subdomain to read.
Reply With Quote
  #8  
Old 02-17-2004, 05:26 PM
liberator liberator is offline
Hatchling Croc
 
Join Date: Feb 2004
Location: Liverpool, UK
Posts: 4
Default

Fixed it! It turned out that it was the hotlink scripts thing you mentioned, I disabled that and the images all loaded. The html itself was fine all along.

Thank you.
Reply With Quote
  #9  
Old 07-11-2005, 03:49 PM
dm1313 dm1313 is offline
Hatchling Croc
 
Join Date: Jun 2005
Posts: 11
Default Re: Images not loading

I have had the same problem with images not loading although I could access them through direct access (i.e., typing the location in the address bar). If I had checked this forum sooner I would have eliminated alot of headaches...and found that I failed to allowed one of my subdomains to access images.

Delta
Reply With Quote
Reply

Bookmarks

Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically modifying images using imagemagick and gd lib sselden Pre-Sales Questions 3 08-21-2004 09:49 AM
[Closed] Please help with a weird problem. oats Shared Hosting Support 2 06-30-2004 02:21 AM
[Open] How do i find the URLs for my images? fendir Pre-Sales Questions 1 06-26-2004 03:23 AM

All times are GMT -5. The time now is 07:46 AM.