Take the 2-minute tour ×

I am working on a site that has a lot of images. I've gotten all of the images linked except for one. I have no idea why this one image won't link. If any one has any ideas, that would be a great help. Thanks!

Also, the image I am trying to link is named:timthumb.php.jpeg And, here is a link to the site: http://emilymagnuson.com/bobsoutdoorgoods/Novelty1.html

Here's a snippet of the code where the image is linked:

 <div class="centerbox4" id="centerbox4">
    <div class="singleproductimage" id="singleproductimage"><img     src="../../../images/_ProductImages/Cycle/Novelty/Large400/timthumb.php.jpeg" width="400"    height="400" alt="REI HooDoo Tent" />
    <div class="ProductDescription" id="ProductDescription">
      <p><span class="darkparagraph">ULock Belt</span><br />
        This ULock Belt is very handy for keeping your ULock in a safe place.</p>
      <p><br />
        <span class="largeprice">$55.00</span>
        <br /><br />
        Item # 748114
        <br />
          <label for="menudrop"></label>

        <div class="dropdown" id="dropdown">
<form action="http://www.mydomain.com/myformhandler.cgi" method="post" name="dropdown"     id="dropdown">
                    <div align="left">
                      <select name="mydropdown">
     <br />
     <a href="#"><img src="../../../images/addtocart.jpg"     onmouseover="../../images/addtocarthover.jpg" onmouseout="../../images/addtocart.jpg"     width="150" height="39" alt="Add To Cart" /></a>
share|improve this question

closed as unclear what you're asking by bmargulies, Ken White, nkjt, Liath, tharkay Apr 3 at 8:45


2 Answers 2

up vote 0 down vote accepted

It seems the problem is the URL for the broken image is actually not an image. Just go to this URL in a browser:


PHP spits out the following error:

Parse error: syntax error, unexpected T_STRING in /home/content/e/m/i/emilymagnuson/html/bobsoutdoorgoods/images/_ProductImages/Cycle/Novelty/timthumb.php.jpeg on line 57

And timthumb.php seems to be a PHP script.

Looking at the code in the site utself it seems like you have that link hardcoded for some reason:

    <div class="productbox" id="productbox">
      <div class="productimage" id="productimage"><a href="IndividualProductPages/Cycle/Novelty/ULockBelt.html"><img src="images/_ProductImages/Cycle/Novelty/timthumb.php.jpeg" width="200" height="200" alt="ULock Belt" /></a>


        <div class="Productdescription" id="Productdescription"><span class="lightparagraph">ULock Belt</span><br />
          <span class="darkparagraph"> $55.00</span>          



Seems like a simple image URL mistake on your part.

share|improve this answer
What is an image URL mistake? –  Emily Magnuson Feb 13 '13 at 14:33
An image URL mistake is when you go to the URL for the image you are having a problem with and the server says something like “Not Found The requested URL /bobsoutdoorgoods/images/_ProductImages/Cycle/Novelty/timthumb.php.jpeg was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.” –  JakeGould Feb 13 '13 at 14:40

In general when diagnosing broken links like this, first confirm that the image is where you think it should be. Then confirm that the image itself is readable as an image and not corrupt by copying it to your workstation and trying to view it there. Then try linking to it directly in your browser. It is probably something simple that is wrong. The developer tools that come with Safari, Chrome, or as plug-ins for Firefox (Firebug, for example) can help a lot, too.

share|improve this answer
Thank you all, it ended up that the image had two file types attached to it. It was the .php attached to the .jpeg. So I took the .php out and it worked. THank you! –  Emily Magnuson Feb 13 '13 at 14:43
