Help - Search - Members - Calendar
Full Version: Images On Website Will Not Show
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
Mike080
I am currently developing a site for a business. I have uploaded images used on the pages to an image folder created in the public html folder in my cpanel. When viewing the pages through my editor everything is showing.

When I look live on the net there are no images. The hosting account was created yesterday, does this possibly have anything to do with the images not showing?

If someone could help me out, it would be very much appreciated.

Thanks
Darin McGrew
Please see the FAQ entry Why are my images coming out all wrong or not loading?

Without the URL of a sample page, it's hard to suggest anything more specific.
Mike080
QUOTE(Darin McGrew @ Feb 24 2010, 12:53 PM) *

Please see the FAQ entry Why are my images coming out all wrong or not loading?

Without the URL of a sample page, it's hard to suggest anything more specific.




Here is a URL to what I'm having problems with:

http://www.northtexasliquidations.com/
pandy
CODE
Forbidden

You don't have permission to access /images/logo.jpg on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Been frivolous with the .htaccess file, have you? happy.gif

I'd guess on an anti-leech script where you have forgotten to OK your own domain, because I can access the images directly.
Mike080
QUOTE(pandy @ Feb 24 2010, 01:46 PM) *

CODE
Forbidden

You don't have permission to access /images/logo.jpg on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Been frivolous with the .htaccess file, have you? happy.gif

I'd guess on an anti-leech script where you have forgotten to OK your own domain, because I can access the images directly.





What is it that I need to do to correct this? I have no idea what an ant-leech script & having to ok my domain.
Please let me know what is needed on my part to fix this.

Thanks
Darin McGrew
You seem to be running Apache. It's probably something similar to the "Blocked Inline-Images" example in the Apache rewrite guide:
http://httpd.apache.org/docs/2.0/misc/rewr...ide.html#access
pandy
Is your cpanel CPanel? In think there is an option in there for this. I haven't seen CPanel in a hundred years, so I don't know what it's called, but look for bandwidth protection, image protection, leech, hotlinking... I don't know if that has changed, but it used to be that CPanel didn't like it when you fiddled directly with its htaccess rules.

If you haven't accidently turned this on yourself, you should talk to your host. This shouldn't be on by default and above all it shouldn't be poorly written as it obviously is.
pandy
Oh, anti-leech is a way of preventing hotlinking, i.e. when people "borrow" your images by embedding them with an IMG tag and reference the image on you domain. They get the eye candy, you pay for the transfer. It works by looking at the referrer for each request for an images, i.e the page the link (or IMG tag) is on. If it isn't in a list of OKed domains, the request is denied. In your case requests from your own domain are denied. It always works to view the image directly, because then there is no referrer.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.