SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
-
Feb 6, 2009, 13:37 #1
- 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.
-
Feb 6, 2009, 14:40 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 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.jpgBig Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Feb 8, 2009, 15:35 #3
- Join Date
- Feb 2009
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thank you for the help
-
Feb 9, 2009, 13:22 #4
- Join Date
- Jun 2005
- Location
- Sparks, NV, USA
- Posts
- 136
- 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.
-
Feb 10, 2009, 06:35 #5
- 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.
-
Feb 10, 2009, 23:53 #6
- 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.
-
Feb 26, 2009, 02:18 #7
- 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