Results 1 to 2 of 2

Thread: problem with displaying image

  1. #1
    Join Date
    Oct 2010
    Posts
    1

    angry problem with displaying image

    Hi,

    I am new to html and need some help.

    I am trying to insert an image from my local disk. I am using wampserver and the image is in a folder called images, which is inside a project folder setapro and then in www directory. I have the format below to insert the image but it is displaying only the alt tag text instead of the image.

    Can someone please tell me what is wrong here. It is a dump question but I need and answer to move on

    Code:
    <div id="logo">
    	<a href="http://saterisk.com"> <img src="setapro/images/logo_my.png" alt="car Logo" width="270" height="50" /></a>
    </div
    >

  2. #2
    Join Date
    Apr 2009
    Posts
    61

    Re: problem with displaying image

    I don't think that there is something wrong with the coding part. You should consider following two points :
    1. Be definite that all your files are in your c:\wamp\www folder. all php, html, images, etc.
    2. Confirm when you are accessing your webpage with your browser you use http://localhost. If you are trying to access the file in your browser as file:///C:/wamp/www/index.php.

Similar Threads

  1. Nokia 6303, problem displaying image(s)
    By Ganaka in forum Portable Devices
    Replies: 4
    Last Post: 19-04-2010, 10:28 AM
  2. Displaying an image and text in a JSP
    By samualres in forum Software Development
    Replies: 7
    Last Post: 20-03-2010, 10:43 AM
  3. Displaying an Image In a JSP With a Access database
    By Henryosa in forum Software Development
    Replies: 5
    Last Post: 12-03-2010, 03:52 PM
  4. Replies: 5
    Last Post: 25-02-2010, 03:34 PM
  5. Displaying an image with Qt
    By Zool in forum Software Development
    Replies: 3
    Last Post: 08-12-2009, 11:57 AM

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
  •  
Page generated in 1,710,847,741.55160 seconds with 17 queries