www.webdeveloper.com
Results 1 to 5 of 5

Thread: Image still wont load into webeditor, just a empty block

  1. #1
    Join Date
    Apr 2012
    Posts
    110

    Image still wont load into webeditor, just a empty block

    Spufi, I put code: <img style="width: 250px; height: 365px;" alt="model1" src="../documents/Mywebsites/Mygraphics.co.za/model1.gif" align="left" hspace="700" vspace="200"/>
    The image is in document folder, then in Mywebsites file, then in Mygraphics.co.za, then the image is model1.gif after you open Mygraphics.co.za file.
    Can anyone help me, ive been trying for weeks to get past round 1 so I can go ahead and play and practice with the code to eventually build my own site hopefully.

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    This should have gotten posted in the other thread. Is the .gif extension have the same casing for both the image file and code? .gif is not equal to .GIF

  3. #3
    Join Date
    Sep 2006
    Location
    new york
    Posts
    254
    You can use "relative" path to images in same domain.

    That's a lot of vspace and hspace. Could that be obscuring the image?

  4. #4
    Join Date
    Nov 2002
    Posts
    2,632
    Image size and space means the width of the image and vspace equals a width of 1650px. The height of the image and hspace equals a height of 765px. This means the area the image has to itself is pretty much taking up the whole screen.

    This should be handled via CSS anyway.

    Code:
    #model1 {
        width: 250px;
        height: 365px;
        align:left;
        margin: 200px 700px;
    }
    Code:
    <img id="model1" alt="model1" src="../documents/Mywebsites/Mygraphics.co.za/model1.gif" />

  5. #5
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Path to image is wrong.
    You say image is in documents folder but src path says look for image one folder level ../ above documents
    EfV

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles