Images not showing

Discussion in 'HTML' started by Jon Cosby, Jun 15, 2004.

  1. Jon Cosby

    Jon Cosby Guest

    Will someone tell me what's wrong with this? The thumbnail images aren't
    showing on the page. All of the images are in the same directory as the
    document. The anchor links work. I don't see any missing tags, do you? The
    file names are right. I've tried tinkering with the table and column size.

    <table cols='3'>
    <tr>
    <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    </tr>
    </table>
     
    Jon Cosby, Jun 15, 2004
    #1
    1. Advertising

  2. Jon Cosby

    Jon Cosby Guest

    > Will someone tell me what's wrong with this? The thumbnail images aren't
    > showing on the page. All of the images are in the same directory as the
    > document. The anchor links work. I don't see any missing tags, do you? The
    > file names are right. I've tried tinkering with the table and column size.
    >
    > <table cols='3'>
    > <tr>
    > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > </tr>
    > </table>
    >


    It seems to work fine in Mozilla, it's IE that can't find the images.
     
    Jon Cosby, Jun 15, 2004
    #2
    1. Advertising

  3. Jon Cosby

    Deryck Guest


    > > Will someone tell me what's wrong with this? The thumbnail images aren't
    > > showing on the page. All of the images are in the same directory as the
    > > document. The anchor links work. I don't see any missing tags, do you?

    The
    > > file names are right. I've tried tinkering with the table and column

    size.
    > >
    > > <table cols='3'>
    > > <tr>
    > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > </tr>
    > > </table>
    > >

    >
    > It seems to work fine in Mozilla, it's IE that can't find the images.
    >
    >


    Can you post the URL for this page please?

    Deryck
     
    Deryck, Jun 15, 2004
    #3
  4. Jon Cosby

    Richard Guest

    "Jon Cosby" <> wrote in message
    news:QRFzc.5656$...
    > Will someone tell me what's wrong with this? The thumbnail images aren't
    > showing on the page. All of the images are in the same directory as the
    > document. The anchor links work. I don't see any missing tags, do you? The
    > file names are right. I've tried tinkering with the table and column size.
    >
    > <table cols='3'>
    > <tr>
    > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > </tr>
    > </table>


    Did you upload the images to the same directory as the html page?
    If not, that's why they don't show up.
    Otherwise include the directory in the filename.
    <img src="path\thumb0.jpg">


    >
    >
     
    Richard, Jun 15, 2004
    #4
  5. Jon Cosby

    Jon Cosby Guest

    "Deryck" <> wrote:

    > > > Will someone tell me what's wrong with this? The thumbnail images

    aren't
    > > > showing on the page. All of the images are in the same directory as

    the
    > > > document. The anchor links work. I don't see any missing tags, do you?

    > The
    > > > file names are right. I've tried tinkering with the table and column

    > size.
    > > >
    > > > <table cols='3'>
    > > > <tr>
    > > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > > </tr>
    > > > </table>
    > > >

    > >
    > > It seems to work fine in Mozilla, it's IE that can't find the images.
    > >
    > >

    >
    > Can you post the URL for this page please?
    >
    > Deryck


    Funny thing, it's working posted on the Web
    (http://www.jcosby.com/temp/thumbnails.htm) or through the IIS server, but
    not when I open it from the folder. Any explanation for this?

    Jon
     
    Jon Cosby, Jun 15, 2004
    #5
  6. Jon Cosby

    Jon Cosby Guest

    "Richard" <Anonymous@127.001> wrote:
    >
    > "Jon Cosby" <> wrote in message
    > news:QRFzc.5656$...
    > > Will someone tell me what's wrong with this? The thumbnail images aren't
    > > showing on the page. All of the images are in the same directory as the
    > > document. The anchor links work. I don't see any missing tags, do you?

    The
    > > file names are right. I've tried tinkering with the table and column

    size.
    > >
    > > <table cols='3'>
    > > <tr>
    > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > </tr>
    > > </table>

    >
    > Did you upload the images to the same directory as the html page?
    > If not, that's why they don't show up.
    > Otherwise include the directory in the filename.
    > <img src="path\thumb0.jpg">
    >

    Yes, they are in the same directory.

    Jon
     
    Jon Cosby, Jun 15, 2004
    #6
  7. Jon Cosby

    Deryck Guest

    "Jon Cosby" <> wrote in message
    news:kuGzc.1327$...
    >
    > "Deryck" <> wrote:
    >
    > > > > Will someone tell me what's wrong with this? The thumbnail images

    > aren't
    > > > > showing on the page. All of the images are in the same directory as

    > the
    > > > > document. The anchor links work. I don't see any missing tags, do

    you?
    > > The
    > > > > file names are right. I've tried tinkering with the table and column

    > > size.
    > > > >
    > > > > <table cols='3'>
    > > > > <tr>
    > > > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > > > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > > > </tr>
    > > > > </table>
    > > > >
    > > >
    > > > It seems to work fine in Mozilla, it's IE that can't find the images.
    > > >
    > > >

    > >
    > > Can you post the URL for this page please?
    > >
    > > Deryck

    >
    > Funny thing, it's working posted on the Web
    > (http://www.jcosby.com/temp/thumbnails.htm) or through the IIS server, but
    > not when I open it from the folder. Any explanation for this?
    >


    Dunno. The code on your site doesnt have any spaces in the image names but
    the code that you posted seems to (Klein<space>).
    Has something changed since the OP or is it just me eyesight? I know the
    problem was the thumbs rather than the large images but I cant
    help feeling that there is more going on here.

    Deryck
     
    Deryck, Jun 15, 2004
    #7
  8. Jon Cosby

    Jon Cosby Guest

    "Deryck" <> wrote:
    >
    > "Jon Cosby" <> wrote in message
    > news:kuGzc.1327$...
    > >
    > > "Deryck" <> wrote:
    > >
    > > > > > Will someone tell me what's wrong with this? The thumbnail images

    > > aren't
    > > > > > showing on the page. All of the images are in the same directory

    as
    > > the
    > > > > > document. The anchor links work. I don't see any missing tags, do

    > you?
    > > > The
    > > > > > file names are right. I've tried tinkering with the table and

    column
    > > > size.
    > > > > >
    > > > > > <table cols='3'>
    > > > > > <tr>
    > > > > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > > > > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > > > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > > > > </tr>
    > > > > > </table>
    > > > > >
    > > > >
    > > > > It seems to work fine in Mozilla, it's IE that can't find the

    images.
    > > > >
    > > > >
    > > >
    > > > Can you post the URL for this page please?
    > > >
    > > > Deryck

    > >
    > > Funny thing, it's working posted on the Web
    > > (http://www.jcosby.com/temp/thumbnails.htm) or through the IIS server,

    but
    > > not when I open it from the folder. Any explanation for this?
    > >

    >
    > Dunno. The code on your site doesnt have any spaces in the image names but
    > the code that you posted seems to (Klein<space>).
    > Has something changed since the OP or is it just me eyesight? I know the
    > problem was the thumbs rather than the large images but I cant
    > help feeling that there is more going on here.
    >


    Yeah, I was doing some tinkering. There's really no problem with the full
    images, it's the thumbs. It's strange, they don't load when I open the
    document locally iin IE.

    Jon
     
    Jon Cosby, Jun 15, 2004
    #8
  9. Jon Cosby

    Hywel Guest

    In article <QRFzc.5656$>, Jon
    Cosby says...
    > Will someone tell me what's wrong with this? The thumbnail images aren't
    > showing on the page. All of the images are in the same directory as the
    > document. The anchor links work. I don't see any missing tags, do you? The
    > file names are right. I've tried tinkering with the table and column size.
    >
    > <table cols='3'>
    > <tr>
    > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>


    Spaces and mixed-case in filenames - bad idea.

    --
    Hywel I do not eat quiche
    http://kibo.org.uk/
    http://kibo.org.uk/mfaq.php
     
    Hywel, Jun 15, 2004
    #9
  10. Jon Cosby

    Richard Guest

    "Jon Cosby" <> wrote in message
    news:dvGzc.1329$...
    >
    > "Richard" <Anonymous@127.001> wrote:
    > >
    > > "Jon Cosby" <> wrote in message
    > > news:QRFzc.5656$...
    > > > Will someone tell me what's wrong with this? The thumbnail images

    aren't
    > > > showing on the page. All of the images are in the same directory as

    the
    > > > document. The anchor links work. I don't see any missing tags, do you?

    > The
    > > > file names are right. I've tried tinkering with the table and column

    > size.
    > > >
    > > > <table cols='3'>
    > > > <tr>
    > > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > > </tr>
    > > > </table>

    > >
    > > Did you upload the images to the same directory as the html page?
    > > If not, that's why they don't show up.
    > > Otherwise include the directory in the filename.
    > > <img src="path\thumb0.jpg">
    > >

    > Yes, they are in the same directory.
    >
    > Jon
    >


    Then try it this way <a href="Klein Baby Bottle">

    It could that the .jpg in the <a> tag is causing the problem.
     
    Richard, Jun 15, 2004
    #10
  11. Jon Cosby

    rf Guest

    "Richard" <Anonymous@127.001> wrote in message
    news:...
    >
    > Then try it this way <a href="Klein Baby Bottle">


    And what would be the point of that, othere than causing an immediate 404
    that is?

    > It could that the .jpg in the <a> tag is causing the problem.


    It could be that you have no idea.

    Cheers
    Richard.


    And
    >
    >
     
    rf, Jun 15, 2004
    #11
  12. Jon Cosby

    Richard Guest

    "Jon Cosby" <> wrote in message
    news:MQGzc.5707$...
    >
    > "Deryck" <> wrote:
    > >
    > > "Jon Cosby" <> wrote in message
    > > news:kuGzc.1327$...
    > > >
    > > > "Deryck" <> wrote:
    > > >
    > > > > > > Will someone tell me what's wrong with this? The thumbnail

    images
    > > > aren't
    > > > > > > showing on the page. All of the images are in the same

    directory
    > as
    > > > the
    > > > > > > document. The anchor links work. I don't see any missing tags,

    do
    > > you?
    > > > > The
    > > > > > > file names are right. I've tried tinkering with the table and

    > column
    > > > > size.
    > > > > > >
    > > > > > > <table cols='3'>
    > > > > > > <tr>
    > > > > > > <td><a href='Klein BabyBottle.jpg'><img

    src='thumb0.jpg'></a></td>
    > > > > > > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > > > > > > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > > > > > > </tr>
    > > > > > > </table>
    > > > > > >
    > > > > >
    > > > > > It seems to work fine in Mozilla, it's IE that can't find the

    > images.
    > > > > >
    > > > > >
    > > > >
    > > > > Can you post the URL for this page please?
    > > > >
    > > > > Deryck
    > > >
    > > > Funny thing, it's working posted on the Web
    > > > (http://www.jcosby.com/temp/thumbnails.htm) or through the IIS server,

    > but
    > > > not when I open it from the folder. Any explanation for this?
    > > >

    > >
    > > Dunno. The code on your site doesnt have any spaces in the image names

    but
    > > the code that you posted seems to (Klein<space>).
    > > Has something changed since the OP or is it just me eyesight? I know the
    > > problem was the thumbs rather than the large images but I cant
    > > help feeling that there is more going on here.
    > >

    >
    > Yeah, I was doing some tinkering. There's really no problem with the full
    > images, it's the thumbs. It's strange, they don't load when I open the
    > document locally iin IE.
    >
    > Jon


    The images need to be in the same directory as the html page REGARDLESS if
    the page is locally or on the server.
    IE is very specific about this.
    This is the biggest mistake that newcomers make all the time.
     
    Richard, Jun 15, 2004
    #12
  13. Jon Cosby

    Craven Guest

    "Hywel" <> wrote in message
    news:...
    > In article <QRFzc.5656$>, Jon
    > Cosby says...
    > > Will someone tell me what's wrong with this? The thumbnail images aren't
    > > showing on the page. All of the images are in the same directory as the
    > > document. The anchor links work. I don't see any missing tags, do you?

    The
    > > file names are right. I've tried tinkering with the table and column

    size.
    > >
    > > <table cols='3'>
    > > <tr>
    > > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>

    >
    > Spaces and mixed-case in filenames - bad idea.



    Too true! Why have spaces file names and capitalisation? I'm a tyro to HTML,
    but I gather that spaces in file names are not allowed, or are they?

    Regards,
    Chris

    Bird sightings based around 'Craven' Skipton, North Yorks.
    http://uk.geocities.com/cravenbirds/

    Outgoing mail is certified Virus Free.
    Checked by the Norton auto-updated anti-virus system.
     
    Craven, Jun 15, 2004
    #13
  14. Jon Cosby

    Els Guest

    Richard wrote:

    > The images need to be in the same directory as the html page REGARDLESS if
    > the page is locally or on the server.


    Not true.

    > IE is very specific about this.
    > This is the biggest mistake that newcomers make all the time.


    Bull. My guess: you're not just ignorant, you're trolling.

    --
    Els
    http://locusmeus.com/
    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -
     
    Els, Jun 16, 2004
    #14
  15. Craven wrote:

    > I gather that spaces in file names are not allowed, or are they?


    Spaces are fine in file names, but what have file names got to do with the
    web?

    Spaces are illegal in URLs.

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
     
    Toby A Inkster, Jun 16, 2004
    #15
  16. Jon Cosby

    Nik Coughin Guest

    Richard wrote:
    >>>>
    >>>> <table cols='3'>
    >>>> <tr>
    >>>> <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    >>>> <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    >>>> <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    >>>> </tr>
    >>>> </table>
    >>>

    >
    > Then try it this way <a href="Klein Baby Bottle">
    >
    > It could that the .jpg in the <a> tag is causing the problem.


    That is the dumbest thing I have heard all week. Congratulations Richard.
     
    Nik Coughin, Jun 16, 2004
    #16
  17. Jon Cosby

    Nik Coughin Guest

    Craven wrote:
    > "Hywel" <> wrote in message
    > news:...
    >> In article <QRFzc.5656$>, Jon
    >> Cosby says...
    >>> Will someone tell me what's wrong with this? The thumbnail images
    >>> aren't showing on the page. All of the images are in the same
    >>> directory as the document. The anchor links work. I don't see any
    >>> missing tags, do you? The file names are right. I've tried
    >>> tinkering with the table and column size.
    >>>
    >>> <table cols='3'>
    >>> <tr>
    >>> <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>

    >>
    >> Spaces and mixed-case in filenames - bad idea.

    >
    >
    > Too true! Why have spaces file names and capitalisation? I'm a tyro
    > to HTML, but I gather that spaces in file names are not allowed, or
    > are they?
    >
    > Regards,
    > Chris
    >
    > Bird sightings based around 'Craven' Skipton, North Yorks.
    > http://uk.geocities.com/cravenbirds/
    >
    > Outgoing mail is certified Virus Free.
    > Checked by the Norton auto-updated anti-virus system.


    They're allowed but it's a good idea to encode spaces in file names as %20.
    Spaces present the possibility of being misunderstood within URLs for
    various reasons.
     
    Nik Coughin, Jun 16, 2004
    #17
  18. Jon Cosby

    Neal Guest

    On Tue, 15 Jun 2004 16:55:12 GMT, Jon Cosby <> wrote:

    > Will someone tell me what's wrong with this? The thumbnail images aren't
    > showing on the page. All of the images are in the same directory as the
    > document. The anchor links work. I don't see any missing tags, do you?
    > The
    > file names are right. I've tried tinkering with the table and column
    > size.
    >
    > <table cols='3'>
    > <tr>
    > <td><a href='Klein BabyBottle.jpg'><img src='thumb0.jpg'></a></td>
    > <td><a href='Klein Bottles.jpg'><img src='thumb1.jpg'></a></td>
    > <td><a href='Klein Stein.jpg'><img src='thumb2.jpg'></a></td>
    > </tr>
    > </table>
    >
    >


    If there are actually spaces in the filename, the URL should have %20 in
    its place. Likely the filenames are incorrect. Triple-check them. Also
    don't forget the required alt attribute on the img element - it serves as
    a replacement for the message the image gives.
     
    Neal, Jun 16, 2004
    #18
  19. Jon Cosby

    Craven Guest

    "Toby A Inkster" <> wrote in message
    news:p...
    > Craven wrote:
    >
    > > I gather that spaces in file names are not allowed, or are they?

    >
    > Spaces are fine in file names, but what have file names got to do with the
    > web?



    Well, I'll be :) I'll see if this 'validates' using a file name with
    spaces referred to in a web page!

    --
    Regards,
    Chris

    Bird sightings based around 'Craven' Skipton, North Yorks.
    http://uk.geocities.com/cravenbirds/

    Outgoing mail is certified Virus Free.
    Checked by the Norton auto-updated anti-virus system.
     
    Craven, Jun 16, 2004
    #19
  20. Jon Cosby

    Craven Guest

    "Els" <> wrote in message
    news:...
    > Richard wrote:
    >
    > > The images need to be in the same directory as the html page REGARDLESS

    if
    > > the page is locally or on the server.

    >
    > Not true.
    >
    > > IE is very specific about this.
    > > This is the biggest mistake that newcomers make all the time.

    >
    > Bull. My guess: you're not just ignorant, you're trolling.


    Lol! I notice your Website uses a Dreamweaver template;-0

    You are correct though;-) If a clear correct PATH is indicated within the WP
    and can be accessed, there shouldn't be a problem.
    --


    Regards,
    Chris

    Bird sightings based around 'Craven' Skipton, North Yorks.
    http://uk.geocities.com/cravenbirds/

    Outgoing mail is certified Virus Free.
    Checked by the Norton auto-updated anti-virus system.
     
    Craven, Jun 16, 2004
    #20
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mythran

    Images Not Showing

    Mythran, Jun 4, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    428
    Kevin Spencer
    Jun 4, 2004
  2. lewindha
    Replies:
    1
    Views:
    8,707
    =?Utf-8?B?U21pdGg=?=
    Oct 26, 2004
  3. Replies:
    7
    Views:
    2,558
    Patrice
    Sep 26, 2005
  4. Alex D.
    Replies:
    9
    Views:
    10,577
    Alex D.
    Feb 9, 2006
  5. Ray Booysen
    Replies:
    2
    Views:
    663
    Ray Booysen
    Mar 28, 2006
Loading...

Share This Page