Simple Dreamweaver Question

Discussion in 'HTML & Website Design' started by mdvaden, Jun 7, 2009.

  1. #1
    Small question - no big deal. But I'm curiios.

    I use Dreamweaver - mostly basics. Every now and then, I notice that the workspace displays images in the page I'm working on, rather than just a gray box where the image should be. It was never anything I intentionally did.

    Any of you more knowledgeable people know how I could do that intentionally if I want to? What triggers it?

    I can work fine without it, but the color is not bad to look at either.

    Simple task?

    Thanks.
     
    mdvaden, Jun 7, 2009 IP
  2. pod

    pod Peon

    Messages:
    55
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Basically, if Dreamweaver can reference the image to be displayed, it will display the image, otherwise you get the gray box.

    For instance if the image tag had an absolute URL and you were online, it would pull the image from the server and display it. If the image tag had a relative URL but Dreamweaver could find the file, ie the image tag is:
    <img src="imagename.jpg" />
    and the file imagename.jpg is in the same directory as the file you are editing, you will see the image instead of the placeholder. This would also be true if the file were in a subdirectory or whatever, so long as it is referenced in the IMG tag relative to where the image actually exists.

    HTH!
     
    pod, Jun 8, 2009 IP
  3. mdvaden

    mdvaden Active Member

    Messages:
    465
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #3
    I think I'm following your explanation.

    Thanks.
     
    mdvaden, Jun 8, 2009 IP