Current location: Hot Scripts Forums » Other Discussions » Web Servers » Apache only loads images partly

Apache only loads images partly

Reply
  #1 (permalink)  
Old 03-25-07, 11:26 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Apache only loads images partly

Hi there! I have a little problem with my webserver. I am using Apache 2.2.4 on Windows XP Home Edition. On my webserver I have a folder that contains some images. But when I try to load an image in my web browser, the images are only loaded partly. It will completely load small images. But the bigger ones won't load entirely.

For example, when I go to http://localhost/images/whatever.jpg
I only get to see the first part of the image. Hitting the refresh button doesn't work either. I also tried different browsers. And loading the images inside of a webpage gives the same result. And there's nothing wrong with the image files.

I've had this problem before with a previous version of Apache. I can't remember how I was able to fix it then. Does anyone know how to fix this?

I appreciate your help.
Attached Images
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-06-07, 05:12 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, I just extended my memory from 512MB to 1GB, hoping that it'll solve the problem. But it doesn't have any effect. Is there anyone who has the same problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 04-07-07, 01:39 AM
Christian's Avatar
Christian Christian is offline
Community VIP
 
Join Date: Mar 2005
Location: ProgrammingTalk
Posts: 2,449
Thanks: 0
Thanked 0 Times in 0 Posts
Have you tried clearing your cache or doing a hard refresh (CRTL + F5)? To me, this sounds more like a browser problem rather than a webserver issue.
__________________
:: ImperialBB :: New version in the works! :: http://www.imperialbb.com ::

:: Have a question about the board? The Rules? An Infraction/Warning? :: Contact Form ::
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 04-07-07, 05:41 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
I don't think it's a browser issue, because I've already tried three different browsers: Opera, Firefox and Internet Explorer (latest versions). I also tried the hard refresh, but no effect. Also this happens with any picture I try to load on my webserver. But it doesn't happen when I try to load pictures from other websites. So it must have something to do with my webserver.

Got more ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 04-07-07, 08:31 AM
mab's Avatar
mab mab is offline
Community VIP
 
Join Date: Oct 2005
Location: Denver, Co. USA
Posts: 2,674
Thanks: 0
Thanked 0 Times in 0 Posts
Can you confirm that you are browsing to the image file itself and it is not on a .html web page? My first thought is some height tag or some overlapping content is causing this. But if you are browsing directly to the url of the image file, this would indicate no tags or other content is involved.

Are you sure the image file is all present and is not corrupt? You can open them in an image editor program and they display correctly? If you right click on the partial image and select the properties menu item, does it list the correct dimension information for what the image should be or does it list the smaller height?

Check your web server log files (both the Access and Error log) for any information.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 04-07-07, 02:50 PM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your reply..

Quote:
Can you confirm that you are browsing to the image file itself and it is not on a .html web page?
It doesn't matter whether I browse to the image files directly, or indirectly via a webpage. Nothing is overlapping the images. Please check the screenshot.

Quote:
Are you sure the image file is all present and is not corrupt?
I double checked all the image files, but there is nothing wrong with the image files. I have no problem opening them in an image editor either.

Quote:
If you right click on the partial image and select the properties menu item, does it list the correct dimension information for what the image should be or does it list the smaller height?
All the browsers list the correct image information in the properties dialog. The dimension is correct and even the image size in bytes is exactly the same.

Quote:
Check your web server log files (both the Access and Error log) for any information.
I checked both the access.log and the error.log files, but nothing unusual. The error.log lists nothing. And the access.log just gives the accessed image files. Nothing unusual at all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 04-09-07, 12:03 PM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community VIP
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,410
Thanks: 1
Thanked 0 Times in 0 Posts
What's the file size of the image?

Have you tried uploading it to an actually webhost instead of using your local system? You might have a settings issue in apache or iis that's preventing it from displaying properly.

Apache or iis?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 04-10-07, 08:05 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
These size of the file is 156 KB and I'm using the Apache webserver.

Just when I was trying to figure out from which filesize the files wouldn't load, it suddenly started working again! I didn't change anything on the webserver.. so I can't explain why.

But this has happened before, and then the exact same thing happened. I installed and configured Apache, the images wouldn't load.. and then it suddenly started working. And now it's happening again.

So if anybody could explain to me why this is happening, I'd really like to hear it. Something tells me this will happen again in the future..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 04-11-07, 10:04 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community VIP
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,410
Thanks: 1
Thanked 0 Times in 0 Posts
I was reading bits and pieces and some of this sounds like an apache bug. The posts I read were more targetted towards Apache and Macs, but the unlying problem has something to do with Apache detecting polling for the sending of data and having it incorrectly report a finished download. The other posts I read suggested reverting to older version of apache, or going through and manually patching/building. On xp though, this would be a pain. I'd suggest sticking with the 2.0 apache rather than try to jump to 2.2. I know that the latest/greatest is not always the most stable with some of the open source software. (see also Tomcat).

I'll have to track down and see if I can find the bug there were referencing and see if it matches this version of apache too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 04-11-07, 10:31 AM
Mortal_Takeda Mortal_Takeda is offline
Newbie Coder
 
Join Date: May 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
bizzar528, thanks for your concern. But the first time this actually happened was a long time ago. I think I was using an Apache 2.0 version back then, but I'm not sure though. With the first occurence I found a thread on another forum which discussed the same thing. So I think it's a known issue, but I can't seem to find anything with google..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotate Images OnLoad kgcr@juno.com JavaScript 5 04-11-09 04:48 AM
Apache/PHP not displaying images mdhall PHP 4 01-28-06 01:01 PM
Royalty free cartoon images: Please reply mcrob The Lounge 2 10-04-05 09:40 AM
How to connect JSP Tomcat to apache or IIS ardie_b Everything Java 1 03-09-05 06:45 PM
List images and zip before download jaimexyz Script Requests 0 09-01-03 03:01 PM


All times are GMT -5. The time now is 11:48 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.