Off Topic: The Flood
This topic has moved here: Subject: I could use some help
  • Subject: I could use some help
Subject: I could use some help
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I'm making a clan site for Halo2, and I need to post some pictures up on one of the pages, but it won't let me. it's html, I put in
<html>
<body>

<p>
text text text....
<img src="picture.gif"
width="300" height="350">
</p>

when I bring up the browser to see how it turned out, there's no picture! I'm pretty sure that's right. I know some of you out there do this stuff, and I wanted to know if there's something wrong in any of those tags or something.

  • 06.10.2004 11:10 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I guess you guys aren't familiar with html. either that or you're just ignoring me. : (

  • 06.10.2004 11:25 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

not ignoreing you.. i just was not on to see th post...

where is the page being hosted?

with the html you have posted, the file would need to be in the same folder as the html file.

  • 06.10.2004 11:27 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I know how to go about it, I put in all that gibberish, save it, open up my browser, and I got nothing. it isn't being hosted yet, I'm still working on it. when construction is complete, I'll get it hosted. damnit. I want those pictures! this is the first obstacle I've come across since I started this project a few days ago.

  • 06.10.2004 11:32 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

OK, here is a sample of how i have one picture hosted on my site, first i put up the thumnail, and link it to the main picture. let me know if this helps.


<A HREF="photoalbum/mtb/mammoth_01.jpg">
<IMG SRC="photoalbum/mtb/mammoth_01.gif" border=0></A>

[Edited on 6/10/2004 11:35:05 AM]

  • 06.10.2004 11:34 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I just realized, maybe you should try not specifying a size, also, how are you writing the code? I just use notepad.

  • 06.10.2004 11:45 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

sorry, man. that got me nowhere. what the hell is wrong with this damned thing? Green(computer genius) is out par-taying and will probably come home drunk, and won't be able to help me out until tomorrow night.

  • 06.10.2004 11:46 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

email me a screen shot of your code and the folder everything is in. Side note, what OS are you building this page on? Linux, and Unix platforms are case sensative... What version IE are you using to view it?

better yet, email me the html file, and the picture you are trying to post...

[Edited on 6/10/2004 11:49:03 AM]

  • 06.10.2004 11:47 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

not specifying a size? hmmm.... I'll try that. and of course I use notepad. Everyone does. I <b>could</b> use word processor or something, but it'll probably try to format all of my crap. notepad always works best.

  • 06.10.2004 11:48 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

I'll need your email address. yar, the only guy with a linux machine I know totally hates me. and unix is too hard for a beginner like myself. I'm using crappy windows. I'll send you the whole mess.

  • 06.10.2004 11:51 AM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

check your message in box....

  • 06.10.2004 11:52 AM PDT

I've tried, Jiminy! Oh how I've tried. My hand is a withered claw!

Then you're a -blam!-. And you'll get the -blam!- ending you deserve.

Try this:

<HTML>
<TITLE>text</TITLE>
<BODY>
<FONT FACE="times new roman" size ="+1">text text text....</FONT>
<P>
<IMG WIDTH="300" HEIGHT="350" SRC="picture.gif">
</BODY>
</HTML>

Make sure that your picture is stored in the same folder as the html file, and make sure that the name is exactly right. Be sure to make it sample.html, not sample.txt

[Edited on 6/10/2004 12:10:39 PM]

  • 06.10.2004 12:08 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

huh. I could've sworn that my code was right......

  • 06.10.2004 12:10 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: Santa Cruz
<IMG WIDTH="300" HEIGHT="350" SRC="picture.gif">

so you are saying the size settings must come before the actual link?

  • 06.10.2004 12:13 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

maybe that's what I've been doing wrong.

  • 06.10.2004 12:21 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

As long as the image itself is the size you want it, there is no need even for the sizing tags, and they can be omitted.

  • 06.10.2004 1:04 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Huh. It looks good to me as it is. Personally, I use src="./filename.ext", which specifies that the file's in the same directory as the HTML document. I know that's the default, but I use that just in case... You might be in such a case.
I also saw someone using XP having problems because it's hard to see what the extension is. For some reason, XP doesn't display extensions by default and there are several extensions used for jpegs now. I've seen .jpe, .jpg, and .jpeg so far. If you're using any gui that doesn't show full filenames, consider trying different extensions.

  • 06.10.2004 2:26 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: forumrunner
Huh. It looks good to me as it is. Personally, I use src="./filename.ext", which specifies that the file's in the same directory as the HTML document. I know that's the default, but I use that just in case... You might be in such a case.
I also saw someone using XP having problems because it's hard to see what the extension is. For some reason, XP doesn't display extensions by default and there are several extensions used for jpegs now. I've seen .jpe, .jpg, and .jpeg so far. If you're using any gui that doesn't show full filenames, consider trying different extensions.

Good point...... I didn't think of that. He sent me the html file, but had left out the img tag completely... I posted my version here;
http://www.cmyktech.com/~matt_klure/gabe.html

  • 06.10.2004 8:07 PM PDT