SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help on putting an image into a web site

    I'm having trouble getting an image to appear on my future church website. I'm just using Build Your Own Web Site the Right Way Using HTML & CSS. As I test it out, the picture/image comes up with a red X in it.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,457
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    Hi jeekins, welcome to the forums,

    The "red x" means the image isn't being loaded. This is often because the path is wrong, or the spelling is wrong. If you're trying to get
    /images/logo.jpg eg.
    make sure the src value isn't
    /logo.jpg
    or
    /images/Logo.jpg

  3. #3
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the help

  4. #4
    SitePoint Zealot
    Join Date
    Jun 2005
    Location
    Sparks, NV, USA
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also make sure that the path where you have the image has the proper permissions on it - it should match the permissions for your html files.

  5. #5
    SitePoint Addict
    Join Date
    Jan 2002
    Location
    Southwest Florida
    Posts
    393
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also check the color settings for the image. If it's saved with CMYK color, it won't work on the web. It needs to be in RGB.

  6. #6
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good tip abt images
    Web Hosting with 99.9% uptime guarantee.

  7. #7
    SitePoint Member
    Join Date
    Feb 2009
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also make sure you are closing your tags, and not leaving out or putting too many closing tags on your page. Using CSS style page you can create an id and then place the link of the photo as the background-image and including other code, you can then reference it in your main page.


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
  •