jpeg wont show in browser - whats wrong with it?

Discussion in 'HTML' started by Wayne..., Feb 17, 2004.

  1. Wayne...

    Wayne... Guest

    I'm having a problem that i cant understand... I have made a jpg in
    fireworks [edited an exsisting bit of artwork etc...] and although it will
    show up in both frontpage and dreamweaver it wont show on either the browser
    from either my internal server or that of my hosting company....can anyone
    tell me what is wrong with it? (I've tried converting it to gif and png as
    well!)
    the code I am using to call it is simple enough:

    <img src="../MyArtwork/glass2-small.jpg
    " alt="Artwork" width="306" height="185">
    the link to the photo itself is:
    www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    thanks in advance

    Wayne...
     
    Wayne..., Feb 17, 2004
    #1
    1. Advertising

  2. Wayne...

    SpaceGirl Guest

    "Wayne..." <> wrote in message
    news:40326b55@212.67.96.135...
    > I'm having a problem that i cant understand... I have made a jpg in
    > fireworks [edited an exsisting bit of artwork etc...] and although it will
    > show up in both frontpage and dreamweaver it wont show on either the

    browser
    > from either my internal server or that of my hosting company....can anyone
    > tell me what is wrong with it? (I've tried converting it to gif and png as
    > well!)
    > the code I am using to call it is simple enough:
    >
    > <img src="../MyArtwork/glass2-small.jpg
    > " alt="Artwork" width="306" height="185">
    > the link to the photo itself is:
    > www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    > thanks in advance
    >
    > Wayne...



    example URL? the image itself is fine.
     
    SpaceGirl, Feb 17, 2004
    #2
    1. Advertising

  3. Wayne...

    Wayne... Guest

    http://www.secretwebdesign.com/newsite/about.php
    there ya go... is crazy! got me going mad LOL

    Wayne...

    "SpaceGirl" <> wrote in message
    news:c0tq49$1bsdma$-berlin.de...
    >
    > "Wayne..." <> wrote in message
    > news:40326b55@212.67.96.135...
    > > I'm having a problem that i cant understand... I have made a jpg in
    > > fireworks [edited an exsisting bit of artwork etc...] and although it

    will
    > > show up in both frontpage and dreamweaver it wont show on either the

    > browser
    > > from either my internal server or that of my hosting company....can

    anyone
    > > tell me what is wrong with it? (I've tried converting it to gif and png

    as
    > > well!)
    > > the code I am using to call it is simple enough:
    > >
    > > <img src="../MyArtwork/glass2-small.jpg
    > > " alt="Artwork" width="306" height="185">
    > > the link to the photo itself is:
    > > www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    > > thanks in advance
    > >
    > > Wayne...

    >
    >
    > example URL? the image itself is fine.
    >
    >
     
    Wayne..., Feb 17, 2004
    #3
  4. Wayne...

    Steve R. Guest

    Wayne... wrote in message ...
    > the code I am using to call it is simple enough


    > <img src="../MyArtwork/glass2-small.jpg
    > " alt="Artwork" width="306" height="185">


    The code you are using is wrong. It should be ..
    <img src="MyArtwork/glass2-small.jpg " alt="Artwork" width="306"
    height="185">

    get rid of the ../ after <img src="
     
    Steve R., Feb 17, 2004
    #4
  5. Wayne...

    Wayne... Guest

    thanks a milion you caught me just in time b4 I went out for a night
    out...now I can have a truley great night :)

    Wayne...


    "Steve R." <stevie_ritchie(NOSPAM)@hotmail.com> wrote in message
    news:I7uYb.1259$...
    > Wayne... wrote in message ...
    > > the code I am using to call it is simple enough

    >
    > > <img src="../MyArtwork/glass2-small.jpg
    > > " alt="Artwork" width="306" height="185">

    >
    > The code you are using is wrong. It should be ..
    > <img src="MyArtwork/glass2-small.jpg " alt="Artwork" width="306"
    > height="185">
    >
    > get rid of the ../ after <img src="
    >
    >
     
    Wayne..., Feb 17, 2004
    #5
  6. Wayne...

    Richard Guest

    Wayne... wrote:

    > I'm having a problem that i cant understand... I have made a jpg in
    > fireworks [edited an exsisting bit of artwork etc...] and although it
    > will show up in both frontpage and dreamweaver it wont show on either the
    > browser from either my internal server or that of my hosting
    > company....can anyone tell me what is wrong with it? (I've tried
    > converting it to gif and png as well!)
    > the code I am using to call it is simple enough:


    > <img src="../MyArtwork/glass2-small.jpg
    > " alt="Artwork" width="306" height="185">
    > the link to the photo itself is:
    > www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    > thanks in advance


    > Wayne...



    Try removing the leading .. from the src.
    If the image is in the same directory as the html file, use <img src
    ="name.jpg">
    As the single image link works just fine, I would say you don't need the two
    ... before the first /.

    When you see <img src="../images/name.jpg">
    The two.. means >> move up one directory listing and fetch from this
    directory.

    For example:

    You are in C:\adam\baker\charlie\files.
    The image you want to get is in c:\adam\baker\images.
    As a shortcut you simply say "..\images\name.jpg"
    "...\images.name.jpg" would put you in C:\adam\baker.
     
    Richard, Feb 17, 2004
    #6
  7. On Tue, 17 Feb 2004 19:28:25 +0000, Wayne... wrote:

    > I'm having a problem that i cant understand... I have made a jpg in
    > fireworks [edited an exsisting bit of artwork etc...] and although it will
    > show up in both frontpage and dreamweaver it wont show on either the browser
    > from either my internal server or that of my hosting company....can anyone
    > tell me what is wrong with it? (I've tried converting it to gif and png as
    > well!)
    > the code I am using to call it is simple enough:
    >
    > <img src="../MyArtwork/glass2-small.jpg
    > " alt="Artwork" width="306" height="185">
    > the link to the photo itself is:
    > www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    > thanks in advance
    >
    > Wayne...


    Not Found
    The requested URL /MyArtwork/glass2-small.jpg was not found on this server.

    Apache/1.3.27 Server at www.secretwebdesign.com Port 80

    You have something wrong in your HTML!

    --
    Jeffrey D. Silverman | jeffrey AT jhu DOT edu
    Website | http://www.wse.jhu.edu/newtnotes/
     
    Jeffrey Silverman, Feb 17, 2004
    #7
  8. Wayne...

    greywolf357 Guest

    Wayne... wrote:
    > thanks a milion you caught me just in time b4 I went out for a night
    > out...now I can have a truley great night :)
    >
    > Wayne...
    >
    >
    > "Steve R." <stevie_ritchie(NOSPAM)@hotmail.com> wrote in message
    > news:I7uYb.1259$...
    >
    >>Wayne... wrote in message ...
    >>
    >>>the code I am using to call it is simple enough

    >>
    >>><img src="../MyArtwork/glass2-small.jpg
    >>> " alt="Artwork" width="306" height="185">

    >>
    >>The code you are using is wrong. It should be ..
    >> <img src="MyArtwork/glass2-small.jpg " alt="Artwork" width="306"
    >>height="185">
    >>
    >>get rid of the ../ after <img src="
    >>
    >>

    >
    >
    >

    the ../ sets the path to go up one level then to
    /MyArtwork/glass2-small.jpg:
    http://www.secretwebdesign.com/MyArtwork/glass2-small.jpg
    if you use only one dot the sub directory (folder) wil be in the current
    path:
    http://www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    which is what you want, i think.

    good luck...
     
    greywolf357, Feb 17, 2004
    #8
  9. Wayne...

    P.J.M. Smit Guest

    checking the html, it looks completely messed up
    Peter
    "Jeffrey Silverman" <> schreef in bericht
    news:p...
    > On Tue, 17 Feb 2004 19:28:25 +0000, Wayne... wrote:
    >
    > > I'm having a problem that i cant understand... I have made a jpg in
    > > fireworks [edited an exsisting bit of artwork etc...] and although it

    will
    > > show up in both frontpage and dreamweaver it wont show on either the

    browser
    > > from either my internal server or that of my hosting company....can

    anyone
    > > tell me what is wrong with it? (I've tried converting it to gif and png

    as
    > > well!)
    > > the code I am using to call it is simple enough:
    > >
    > > <img src="../MyArtwork/glass2-small.jpg
    > > " alt="Artwork" width="306" height="185">
    > > the link to the photo itself is:
    > > www.secretwebdesign.com/newsite/MyArtwork/glass2-small.jpg
    > > thanks in advance
    > >
    > > Wayne...

    >
    > Not Found
    > The requested URL /MyArtwork/glass2-small.jpg was not found on this

    server.
    >
    > Apache/1.3.27 Server at www.secretwebdesign.com Port 80
    >
    > You have something wrong in your HTML!
    >
    > --
    > Jeffrey D. Silverman | jeffrey AT jhu DOT edu
    > Website | http://www.wse.jhu.edu/newtnotes/
    >
     
    P.J.M. Smit, Feb 18, 2004
    #9
    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. ask josephsen

    rss feed wont show special chars!?

    ask josephsen, Nov 13, 2003, in forum: XML
    Replies:
    1
    Views:
    361
    ask josephsen
    Nov 13, 2003
  2. lovaspillando
    Replies:
    0
    Views:
    1,037
    lovaspillando
    Aug 26, 2007
  3. Ivan Alameda Carballo
    Replies:
    0
    Views:
    497
    Ivan Alameda Carballo
    Aug 26, 2007
  4. Cirene
    Replies:
    4
    Views:
    551
    Cirene
    Aug 17, 2008
  5. Andy B

    .gif wont show with image control

    Andy B, Nov 19, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    268
    bruce barker
    Nov 19, 2008
Loading...

Share This Page