Click to See Complete Forum and Search --> : Help with file types? (png)


XspurbyX
02-15-2006, 06:13 PM
I am wondering, is it possible to get this (http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png) image onto my page??? When I put it in this form...

<IMG SRC="http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png"> Nothing shows up on my page... I am just loading Word doc with IE to view it right now, I am a complete begginer.

SO, can you get PNG images onto your page?? Or is it all gif jpeg and bmp???

I AM A COMPLETE Newbie...

Thx for help.

mrmazur
02-15-2006, 06:18 PM
Are you trying this in a word document? Or are you using some HTML editor? To make that image appear on your page you put that <img src="http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png"> anywhere inside your <body> PUT HERE </body>tags.

XspurbyX
02-15-2006, 06:21 PM
Are you trying this in a word document? Or are you using some HTML editor? To make that image appear on your page you put that <img src="http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png"> anywhere inside your <body> PUT HERE </body>tags.

Yes, it's in word.

----------

What am i doing wrong?

Code so far.

<HTML>

<TITLE> Page 1 </TITLE>

<BODY BGCOLOR="008000">

<BODY>

<IMG SRC=”http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png”>

</BODY>

</HTML>

mrmazur
02-15-2006, 06:31 PM
And then are you saving it as a Word DOC or an HTML document?

XspurbyX
02-15-2006, 06:34 PM
That code right there that I have is what I am saving in Word, as XspurbyX1.htm I think as Plain Text, then I am going to IE, clicking open, hit browse, selecting file, then clicking ok, and all i get is a green background and a little box with an x in it...

mrmazur
02-15-2006, 06:39 PM
If you're going to hand code then just use Notepad instead of Word. Make sure when you save your doc you save it with an .htm extension (instead of txt). Double click on it and off you go.

XspurbyX
02-15-2006, 06:45 PM
It still doesn't work!!!

Ok, I went to notepad, typed in the same code..

------------

<HTML>

<TITLE> Page 1 </TITLE>

<BODY BGCOLOR="008000">

<BODY>

<IMG SRC=”http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png”>

</BODY>

</HTML>

---------------------

I hit save as, then I saved as "XspurbyX2.htm' and then the "Save as type:" only option was TEXT Documents (txt*) so i left that, and then there was also ANSI under it, no clue what that is...

ANYWAYS, I cannot get it! Thank you so far for your help...

mrmazur
02-15-2006, 06:49 PM
Double click on My Computer, click Tools > Folder Options > View [tab] and UNCHECK Hide file extensions for known file types. Then go to the place where you have your document saved and make sure that it truly is saved as XspurbyX2.htm instead of XspurbyX2.htm.txt <- which is what I think it is right now. Once you remove the .txt you should be able to view this in your browser.

XspurbyX
02-15-2006, 06:55 PM
I did that, no .txt behind it, cause i can't find the txt anywhere...

It's saved at

C:\Documents and Settings\Justin\My Documents\XspurbyX2.htm

mrmazur
02-15-2006, 06:59 PM
What does the URL look like when you open that file up in Internet Explorer? Can you paste that here?

XspurbyX
02-15-2006, 07:00 PM
Yes...

file:///C:/Documents%20and%20Settings/Justin/My%20Documents/”http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png”

I went the the browser preview thing, right clicked properties, and this is what it is.

acorbelli
02-15-2006, 07:12 PM
Go to "My Documents"
Right Click -> New -> Text Document
Rename document "file.html"
Insert the following code into the page:


<HTML>
<HEAD>
<TITLE> Page 1 </TITLE>
</HEAD>

<BODY BGCOLOR="008000">


<IMG SRC="http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png">

</BODY>

</HTML>


Save.

XspurbyX
02-16-2006, 03:23 PM
I'm sorry, it still doesn't work.

CAn anyone else get it to work? Is it just me? I have been doing everything you have suggested numourus times, and it still doesn't work.

...Thx for trying

acorbelli
02-16-2006, 04:42 PM
Open it with Notepad, not with Word.

toicontien
02-16-2006, 04:51 PM
XspurbyX, you might find W3Schools of interest if you are just beginning: http://www.w3schools.com/

XspurbyX
02-16-2006, 04:58 PM
I ave been there before, its just weird, it is a .png image, and i was just wondering if it works they said it should, but it isnt, and it is really simple, so it's just weird.

acorbelli
02-16-2006, 05:26 PM
If you're using Notepad, and you're sure the extension is .html and NOT .html.doc or .html.txt it should work.

bathurst_guy
02-16-2006, 05:38 PM
Are you connected to the Internet when you open the page?

acorbelli
02-16-2006, 05:40 PM
try adding

alt="Image Goes Here"

to the image tag.

XspurbyX
02-16-2006, 05:40 PM
Yes, and Yes, I am trying everything. Oh well.

ErolinDesigns
02-16-2006, 05:46 PM
It also seems as though you're using the wrong quotes.

You are using ” instead of "

bathurst_guy
02-16-2006, 05:48 PM
Here is your page (http://sdstudio.com.au/webdeveloper/XspurbyX.htm). Try copy and paste the source code into a new document on your computer

XspurbyX
02-16-2006, 06:16 PM
Thankyou, it worked now, I am really weirded out about how I couldnt get it to work the first time!

bathurst_guy
02-16-2006, 06:18 PM
It also seems as though you're using the wrong quotes.

You are using ” instead of "
I think this was the problem

XspurbyX
02-16-2006, 08:11 PM
Really??? I didn't think it was, cause I hit the (") button... Hmm...

THANK YOU THOUGH!

I am still an newbie. I just want to learn a little more... Onto backgrounds and CSS's!!!

XspurbyX
02-19-2006, 11:40 PM
Sorry for the double post, but, I was just wondering, when I looked at the html again, I didn't recognize this meta tag! What is it? Or what does it do? I haven't seen one of these yet!

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Mester Pediz
02-20-2006, 06:25 AM
Try to user this
<img src="http://img.photobucket.com/albums/v368/XspurbyX/XspurbyXBanner1.png">
i just tried yours and it did not work, wrote it like this and it came up :)

XspurbyX
02-20-2006, 11:09 AM
I got the image to work now, I just would like to know what the meta tag is right there, thx.

mrmazur
02-20-2006, 01:37 PM
The HTTP content type may be extended to give the character set. It is recommended to always use this tag and to specify the charset. Do a search for 'meta http tag' for details and usege of these tags.

XspurbyX
02-20-2006, 01:40 PM
Thank you.