Need help with picture

liunx

Guest
So I was making an html file and I wanted to insert a .bmp picture in it, but it did not work. I tried to convert it to .gif and to .jpg but both just didn't work. Here's the tag: <img src=http://www.htmlforums.com/archive/index.php/D:\Mijn documenten\Intro\backroundpicture.jpg img> I tried all kinds of formats instead of .jpg but none of them worked. Please help me. I created the picture in paint.<!--content--><img src=http://www.htmlforums.com/archive/index.php/D:\Mijn documenten\Intro\backroundpicture.jpg img> ...is not correct...<br />
<br />
Take the picture off of the source and put it no your hard drive...or on the server that hostes your site...that is the easies way to do it....you code would be:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"http://yoursite.com/images/backgroundpicture.jpg"> or <img src="backgroundpicture.jpg"> depending on where you place the picture....<br />
<br />
Is this pic supposed to be the background for your page? And what webpage builder are you using?<!--content-->Its not for a page, Im trying to make some sort of program in html. Thanks for the help. (by the way, its an bmp picture)<!--content-->To my knowledge... you can't make programs in HTML. Though, you can in VB, PHP, CGI, and other languages. HTML is just for webpages, though it is a programming language. Just don't try to make things like the date and time in just HTML. There are many PC related languages to ponder. As for the background image, it can't be remotely linked on your HD.<!--content-->copy the picture file in the same folder as the html page and just use <img scr=backroundpicture.jpg>.<br />
<br />
or possibly you forget the "g" in backGroundpicture.jpg ?<br />
<br />
<br />
<br />
SueJon Design (<!-- m --><a class="postlink" href="http://memebrs.cox.net/suejon/">http://memebrs.cox.net/suejon/</a><!-- m -->)<!--content-->Browsers cannot understand the BitMap format (.bmp), but will understand .gif or .jpg or .png formats. However it is not a simple case of just renaming the file, or changing the last three letters of the filename. Instead, you need to convert the image format in a graphics or imaging program, using the "Save As" function to write the file out in a new format and with a new name. See the previous postings for how to link to the file after you have made.<br />
<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/D:\Mijn documenten\Intro\backroundpicture.jpg img><br />
This will not work. Repetition of img and it points to your hard disk. Attributes should be Quoted.<br />
<br />
Ooopsies... a couple more typos found: <img scr=backroundpicture.jpg> .<br />
That is, scr should be src, and all attributes should be quoted: <img src=http://www.htmlforums.com/archive/index.php/"backroundpicture.jpg"> .<br />
<br />
<br />
Also, don't forget to add the alt="some text" attribute, and the optional height="" and width="" attributes, with suitable dimensions. Check the spelling of backgroundpicture, as previously noted.<!--content-->
 
Back
Top