• Advertisement

Archived

This topic is now archived and is closed to further replies.

I can program in C, but i can't use forums :)

This topic is 5034 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Doh, i really feel stupid asking this (you''d think i''d get used to it by now) - but how do you post pictures in this forum so it displays (ie/ they don''t have to click a link) Muncher.. !

Share this post


Link to post
Share on other sites
Advertisement

<img src="http://www.somesite.com/path/filename.jpg">


Don't do it with Geocities or some similar free hosters.. the sites don't accept "foreign" image requests..

Edit: code tags appearantly accepts html

[edited by - frostburn on May 9, 2004 7:28:09 PM]

Share this post


Link to post
Share on other sites
yeah, just enter normal HTML. and FYI, people generally don''t like you to actually put the images in your post with an <img...> tag. post an href to the image instead so people can click on it to be redirected to the image.

-me

Share this post


Link to post
Share on other sites
Use HTML tags:
< IMG src = "someimage.jpg" >< / IMG >
without all those extra spaces. Similarly, you can use tags native to GameDev.net with the squared brackets:
[ source ]
Some code in here
[ / source ]

Share this post


Link to post
Share on other sites
ahhh thanks... so i need somewhere to put the image first.... what if i can''t do that? does the tag automatically "upload" your image to the forum? so, say i have my image on C:\, do i go:

"< IMG src = "c:\someimage.jpg" >< / IMG >"

lol, i hate html!

Share this post


Link to post
Share on other sites
quote:
Original post by Muncher
ahhh thanks... so i need somewhere to put the image first.... what if i can''t do that? does the tag automatically "upload" your image to the forum? so, say i have my image on C:\, do i go:

"< IMG src = "c:\someimage.jpg" >< / IMG >"

lol, i hate html!

No, it''s just a tag embedded in an HTML document that instructs your browser on whence it should download the image (along with some optional instructions on size etc.), so you will have to upload it somewhere so that it is accessible.

Share this post


Link to post
Share on other sites
hey I''m one of those don''t-know-my-way-in-the-forums guy to..

and how does people do those cool in-post-windows?
it''s nice when posts include a little window with code snippets in them and text as plain message...
*am I getting through to anyone!?*

well if any of you like to teach me please do

//Qrikko

"All it takes is for the rendered image to look right" -Jim Blinn

Share this post


Link to post
Share on other sites
With pleasure. You bracket your code with a [source] and a [/source] tag. This both disables HTML/forum code parsing and provides (C++) syntax highlighting.

You can also have [quote][/quote] blocks (like <blockquote> tags) and [code][code] blocks for in-line preformatted (like a <pre> or <code> tag) text.

[edited by - Fruny on May 9, 2004 8:39:05 PM]

Share this post


Link to post
Share on other sites
thanx a lot! it's always nice to read "clean" posts!
now I have tryed it out and I'm all happy




[edited by - Qrikko on May 9, 2004 8:46:23 PM]

Share this post


Link to post
Share on other sites
ok, ok here we go..... a test

http://www-mugc.cc.monash.edu.au/~pwwit1/screen.jpg


Share this post


Link to post
Share on other sites
In general, you sould only post pictures if YOU are hosting them on your web site. Other web-sites are generally unhappy when people start leaching their bandwidth by cross-linking pictures. If you do not own the web-space your pictures are comming from, those pictures could be removed/change at any time.


BTW, heres the corrected link...




<img src = "http://www-mugc.cc.monash.edu.au/~pwwit1/screen.jpg"></img>






[edited by - Onemind on May 9, 2004 9:14:25 PM]

Share this post


Link to post
Share on other sites
IMG is a has no closing tag! The proper syntax is:
<img src="location" [width="w" height="h" ...] /> 
Note that the tag is terminated in " />", with the space being significant, for compliance with XHMTL 1.0+. Ditto <br /> and other unpaired tags.

Man, you guys suck!

Share this post


Link to post
Share on other sites
Uh... HTML doesn''t like it, but XHTML should accept the <img></img> form just fine. XHTML is based off XML, where the <blah /> syntax is simply shorthand permitted for an empty element. In fact, if I understood all that horribly dense text the W3C writes last time I read it, using <img /> shouldn''t be valid in old-school HTML, and is relying on the tolerance of the browsers'' parsers (though pretty much all of them will let you get away with it). Sadly you just can''t validate against both specs.

Oh, and the ''alt'' attribute is supposed to be mandatory for the img tag, for either spec.

Share this post


Link to post
Share on other sites
Arghh... Backspace should NOT be used as "navigate back"... just lost my post.. Anyone know how to remove that "feature"?

It was basically what Zahlman said + that since the pages don''t use XHTML there''s no need to use <img .... />. It''s valid in html 4.01 transitional, but not in html 4.01 strict, and since it''s not necessary here it''ll only add confusion .

Here''s a link with info about compability..

Share this post


Link to post
Share on other sites

  • Advertisement