Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache only displaying partial images in web pages |
|
Author |
|
viewsource
Joined: 13 Apr 2008 Posts: 2 Location: Newcastle, England
|
Posted: Sun 13 Apr '08 17:25 Post subject: Apache only displaying partial images in web pages |
|
|
Hi All,
I am building some new pages on my site and started to incorporate some photos (so generally larger files, but not exactly huge - circa 250k).
When the page is rendering the image stops loading part way.
Here are some very simple diagnostics...
* The problem is visible in both IE and Firefox
* The problem is visible with full qualified URL e.g. http://a.b.c.com/imagename.jpg
* The problem is visible with local loopback e.g. http://localhost/imagename.jpg
* There is NO problem in IE or Firefox with local file path e.g. c:\apache\htdocs\imagename.jpg
* The image also loads correctly in numerous applications e.g. paint, paintshop pro, etc.
I am therefore ruling out of the equation the file itself, browsers, my isp, my dynamic dns provider.
All other functionality appears ok, smaller images work, scripts run, pages load, no issues.
Anyone had similar issue or know how to fix.
Apache version: 2.2.8
Windows version: XP Media Centre Edition 2002 SP 2
Regards,
Mark |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 13 Apr '08 19:09 Post subject: |
|
|
I've seen this a hundred times and have never seen an answer to the problem. In some cases works fine from a remote location but only partial images show from local side.
Fixes (not necessarily) have generally consisted of clearing browser cache/s, rebooting the server to some php configuration error.
You are not using any access restriction on images are you?
as in http://httpd.apache.org/docs/1.3/misc/FAQ.html#image-theft
Interestingly that was pulled out of the 2.x docs but still remains in 1.3. I've had this go astray on me before.
gregg |
|
Back to top |
|
viewsource
Joined: 13 Apr 2008 Posts: 2 Location: Newcastle, England
|
Posted: Sun 13 Apr '08 21:18 Post subject: |
|
|
No restrictions on image use, just standard secure stuff on directories...
<Directory />
Order Deny,Allow
Deny from all
Options None
AllowOverride None
</Directory>
<Directory "C:\Apache\htdocs">
Options -Indexes -FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
I have been doing more googling in the meantime and nothing jumped out yet. |
|
Back to top |
|
|
|
|
|
|