The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Images On Website Will Not Show
Mike080
post Feb 24 2010, 11:01 AM
Post #1





Group: Members
Posts: 3
Joined: 24-February 10
Member No.: 11,195



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 24 2010, 11:53 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Mike080
post Feb 24 2010, 12:40 PM
Post #3





Group: Members
Posts: 3
Joined: 24-February 10
Member No.: 11,195



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/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 24 2010, 12:46 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Mike080
post Feb 24 2010, 01:06 PM
Post #5





Group: Members
Posts: 3
Joined: 24-February 10
Member No.: 11,195



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 24 2010, 01:20 PM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 24 2010, 01:43 PM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 24 2010, 01:49 PM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 4th May 2024 - 03:19 PM