Google Answers Logo
View Question
 
Q: GIF graphics not showing up on some web pages, while working on others. ( Answered 5 out of 5 stars,   7 Comments )
Question  
Subject: GIF graphics not showing up on some web pages, while working on others.
Category: Computers
Asked by: newbusinessowner-ga
List Price: $50.00
Posted: 16 Apr 2005 13:11 PDT
Expires: 16 May 2005 13:11 PDT
Question ID: 510147
I have gif graphics on web pages that won't show up.  The other
graphics on the page were created in the same manner. I have tried
recreating each graphic and that doesn't seem to change anything.

We have the correct source information.  They are not too large.  We
have enough bandwidth.  We have an apache server.  We use Adobe GoLive
CS on an Apple G5.  The webhosting company is telling us to change the
htaccess file, but that caused us other problems. and we don't
understand why images work in other places but not on this page.  We
have images on other pages that work just fine.  Two pages are php
pages, while another is an html page.

We have the same issue for only one graphic on a similar page, but all
other graphics on that page work.


We have one graphic not working on our home page as well, but the
issue is not consistent page to page or even on a single page.

Request for Question Clarification by denco-ga on 16 Apr 2005 20:07 PDT
Howdy newbusinessowner-ga,

It would help researchers to have a few links to the pages in question
so your HTML code, GIFs, etc. can be checked.  Thanks!

Looking Forward, denco-ga - Google Answers Researcher

Clarification of Question by newbusinessowner-ga on 17 Apr 2005 06:36 PDT
this page has (4) broken links on the top

http://www.townicans.com/THEPLANS/CUSTOMPLANS/customhomeB.php

this page has only 1 broken link on the top

http://www.townicans.com/THEPLANS/theplans.php

our home page has a link on the very bottom of the page as well.  

http://www.townicans.com/
Answer  
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
Answered By: denco-ga on 17 Apr 2005 14:56 PDT
Rated:5 out of 5 stars
 
Howdy newbusinessowner-ga,

There are no problems with your .htaccess file, nor is the problem in
the spaces in your files names, etc.  The HTML on your pages is wrong
in that the code is pointing to the wrong pathnames relative to the
web pages in question.

First, this web page:
http://www.townicans.com/THEPLANS/CUSTOMPLANS/customhomeB.php

There are several ways to fix this problem, but the easiest/quickest
way is probably for you to do the following:

- in the folder/directory named: THEPLANS
- create/make a folder/directory named: images
- in the new folder/directory named: images
- put a copy of the file called: Townicanbar1.jpg
- also create/make a folder/directory named: BUTTONS
- put copies of these four files in the BUTTONS folder

drawbutton.gif
clubbutton.gif
flushbutton.gif
fullhousebutton.gif

The above will fix the problems with that web page.

As for the next page:
http://www.townicans.com/THEPLANS/theplans.php

The file named: custombutton.gif is not a valid GIF file at all, but
rather some type of text file.  Check the file on your machine and
make sure it is a good GIF file and if it is then upload it again and
make sure it is in following folder/directory on your web server, or
make a new GIF file that is in the proper format and upload it.

Upload the custombutton.gif file to: /images/BUTTONS/

The same problem is going on with your home page.
http://www.townicans.com/

The following files are not GIF files but rather text files with .gif
extenders.  Working versions need to be found/made and uploaded to the
main directory named: /images/

customspecial.gif
customspecial2.gif
customspecial3.gif
specialsignup.gif
specialsignup2.gif

The following file in /images/BUTTONS/ seems to be corrupt in the same
way as well.

customplan.jpg

As this is a diagnostic process, you might have questions for clarification
of this answer, so please do not hesitate in asking these questions before
you rate this answer.

Search strategy:

Examined site in question detail.  I used to own and run my own Internet
Service Provider (ISP) company, so I am very familiar with these types of
problems.

Looking Forward, denco-ga - Google Answers Researcher

Request for Answer Clarification by newbusinessowner-ga on 17 Apr 2005 15:50 PDT
Your solution did not fix the problem, unfortunately. 
We did the changes as your requested for the directories and it was
not fixed.  I select randomly customspecial.gif and it is a gif.  I
did a right click on it, and checked properties. All these items check
out once we delete the .htaccess file.  Everything is now working
except our redirects...

When we remove the .htaccess file the problem goes away across the
website, but we can not get our redirects working.  I had another
google question in that was to allow my site to redirect to urls. 
Leaping Lizard helped me with that, but then we had this issue happen.
 Our web hosting company said the following:

INTERLAND our hosting company said the following: "Thank you for
contacting Technical Support. Your images can not be viewed, due to
the .htaccess file you created. I(nterland) renamed it to 'htaccess'
instead of '.htaccess', and I was able to view the file. Additionally,
this I reviewed this error in your Error Logs:

mod_rewrite: maximum number of internal redirects reached.
Assumingconfiguration error. Use 'RewriteOptions MaxRedirects' to
increase the limit if neccessary.

Request exceeded the limit of 10 internal redirects due to
probableconfiguration error. Use 'LimitInternalRecursion' to increase
the limit if necessary. Use 'LogLevel debug' to get a backtrace."

I asked them to clarify, but they can't seem to be bothered.  


I need the redirect to work for www.townicans.com/custom and
eventually for www.townicans.com/signup and I have these on 10,000
brochures.  I'm at a loss now.


Can you help...please?  We certainly understand your answer, but that
is not it...if you can give me a different redirect route..I'll go for
that.  I do tip...I hope you can help!

Clarification of Answer by denco-ga on 17 Apr 2005 18:19 PDT
Howdy newbusinessowner-ga,

The redirect instruction in your .htaccess file in combination with
the page code appears to be causing an infinite loop.  Please try the
following.

Point the button and header graphics in the following HTML:
http://www.townicans.com/THEPLANS/CUSTOMPLANS/customhome.php

To:
THEPLANS/CUSTOMPLANS/images

Create a directory named images under THEPLANS/CUSTOMPLANS/
and put copies of the following files in there:

drawbutton.gif
clubbutton.gif
flushbutton.gif
fullhousebutton.gif
Townicanbar1.jpg

Rename htaccess to .htaccess and check out the results.  If there is
a problem, check the error logs and see if you get the same errors.
Leave the .htaccess file in place and please post back here with the
reults, error message if any, etc. when it is all in place  That way
I can see the effects of the file. I will monitor your question here
so we can get this cleared up as soon as possible.  Thanks!

Looking Forward, denco-ga - Google Answers Researcher

Clarification of Answer by denco-ga on 17 Apr 2005 18:50 PDT
In fact, please remove any reference in the following web page
to anything above (../../ etc.) itself for the time being.

http://www.townicans.com/THEPLANS/CUSTOMPLANS/customhomeB.php

Thanks!  denco-ga
newbusinessowner-ga rated this answer:5 out of 5 stars and gave an additional tip of: $25.00
great answer.  I went another route though with a simpler redirect mechanism.

Comments  
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: the_smo-ga on 16 Apr 2005 18:28 PDT
 
I am not sure if this will answer your question but make sure the
image code is exactly correct. Sometimes, people forget to add a quote
around the image file name or forget a little code snippet.

Example: <img src="images/test.gif" width="100" height="100">

Hope that helps
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: newbusinessowner-ga on 17 Apr 2005 06:38 PDT
 
thanks for the help.  I should have noted that we checked that as well.
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: pmmbala1976-ga on 17 Apr 2005 08:14 PDT
 
Hi

try to rename the image name without space like Townicanbar.jpg and
please make sure you have the file in that folder.

http://www.townicans.com/THEPLANS/images/Townican%20bar.jpg

Thanks
Bala
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: pmmbala1976-ga on 17 Apr 2005 08:24 PDT
 
FIle 1:

http://www.townicans.com/THEPLANS/CUSTOMPLANS/customhomeB.php - Image Not display

<td width="804" height="130" colspan="24" valign="top" align="left"
xpos="0"><img src="../images/Townican%20bar.jpg" alt="" height="120"
width="800" border="2"></td>

Path = src="../images/Townican%20bar.jpg"

File 2:	

http://www.townicans.com/THEPLANS/theplans.php - Image display

<td width="804" height="130" colspan="16" valign="top" align="left"
xpos="0"><img src="../images/Townican%20bar.jpg" alt="" height="120"
width="800" border="2"></td>


Path = src="../images/Townican%20bar.jpg"		


both the page pointing the same folder image
src="../images/Townican%20bar.jpg" but the customhomeB.php page one
step forward  folder (customplans) not in the same folder. so try to
change the src path like

src="../../images/Townican%20bar.jpg"	

or copy the images folder and past into CUSTOMPLANS folder.

Thanks
bala
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: newbusinessowner-ga on 17 Apr 2005 11:48 PDT
 
I renamed the first image under
http://www.townicans.com/THEPLANS/images/Townican%20bar.jpg

to ...townicanbar1.jpg, you can see the link from my browser, but it
still doesn't work.

for the draw button, which is below and to the left on the same page,
I moved the button to a higher level folder, just under images and
that one is not showing up either...
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: person2-ga on 17 Apr 2005 12:17 PDT
 
Does your server have hotlink protection? If so, you'll need to change
the image location to "/images/townican%20bar.jpg" or something.
Subject: Re: GIF graphics not showing up on some web pages, while working on others.
From: denco-ga on 18 Apr 2005 10:51 PDT
 
Much, much thanks for the kind comment, 5 star rating and most generous tip,
newbusinessowner-ga.  Very glad that it all worked out for you.

Looking Forward, denco-ga - Google Answers Researcher

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy