How do you place images into a subdomain website

Posted on 2009-04-22
Medium Priority
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="http://.www.mysite.com/photos/pic1.jpg"> -- <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:
http://iuf.icedinteractive.com/index.php , 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

Roger Baklund earned 2000 total points
ID: 24210855
Your image folder is named "img", not "photos". All of these should work:

<img src="http://iuf.icedinteractive.com/img/PBlood7_026.jpg" alt="" />
<img src="/img/PBlood7_026.jpg" alt="" />
<img src="img/PBlood7_026.jpg" alt="" />

Author Closing Comment

ID: 31573592
I'm an idiot.........stop laughing

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

850 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