How do you place images into a subdomain website

Posted on 2009-04-22
Last Modified: 2013-12-25
I'm using sub-domains for the first time. For some reason I can't place the images using html. For instance; -- <img src="photos/pic1.jpg"> -- does not work, the image does not show. I've used the every option to the directory-- <img src=""> -- <img src="/photos/pic1.jpg"> ----<img src="photos/pic1.jpg"> -- Nothing works, but it worked fine before I subbed the website under mine. The funny thing is the same photos show if I use them as background images using css. Please help.

This is the website: , all the images are background images placed using css, they won't show if I try to place them using html as normal images (not background)
Question by:thgallant1
    LVL 39

    Accepted Solution

    Your image folder is named "img", not "photos". All of these should work:

    <img src="" alt="" />
    <img src="/img/PBlood7_026.jpg" alt="" />
    <img src="img/PBlood7_026.jpg" alt="" />

    Author Closing Comment

    I'm an idiot.........stop laughing

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    The goal of the tutorial is to teach the user how to import photos into Adobe Lightroom efficiently and to keep everything organized.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now