SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image not displayed in Firefox

    Hi :

    I am using HTML image control to show image on browsers.the problem is it shows image on IE,Safari,Opera but not in Firefox.

    2 I have another problem too, the issue is I have an image "panda.gif " in my "panda " folder on D: drive then i have given the

    src="D:\panda\panda.gif".But the image is not showned in browser instead i have got the error message like this

    Error Message: "D:\panda\panda.gif". This is not the URL.I have mentioned my HTML code below.Then finally i have given image src like URL despite it not works in Firefox.



    <html>
    <body>
    <a href=" getkeycode.html">
    <img id="image" height="200" width="200" src="D:\panda\panda.gif" alt="Hi" >
    </a>

    </body>

    </html>

  2. #2
    Smart programmer silver trophy M.Zeb Khan's Avatar
    Join Date
    Jan 2004
    Location
    Luton, Beds
    Posts
    1,791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why use a local path D:\panda\panda.gif?

    I would suggest put the gif and html all in one folder and then you can link to them easily like:
    Code:
    <img id="image" height="200" width="200"  src="panda.gif" alt="Hi" >

  3. #3
    SitePoint Wizard
    Join Date
    Apr 2007
    Posts
    1,401
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    why is this post here? blame everything on java, eh?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •