Images/Setup

Web page creation, programs, scripts, PHP, SQL?

Moderator: Moderators

Postby GogenSSJ » Tue Aug 17, 2004 10:35 pm

ok me and my friend made a custom underconstruction page and we couldnt get the image on to display and we got it to disply by doing

ftp://(Account):(Password)@ftp.polarhome.com/Images/under-construction.JPG

but the thing is, i want to be able to get it to work without having people finding out my account and password. so what do i do
GogenSSJ
 

Postby DenisF » Tue Aug 17, 2004 11:30 pm

You can start by reading this; <a href='http://archive.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html' target='_blank'>http://archive.ncsa.uiuc.edu/General/Inter...HTMLPrimer.html</a>
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby GogenSSJ » Wed Aug 18, 2004 2:44 am

see the thing is my friend he knows html and even he couldnt get it to work
GogenSSJ
 

Postby DenisF » Wed Aug 18, 2004 3:30 am

If your friend knows html, yet can't use an <img> tag, i suggest that he reads that too.
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby GogenSSJ » Wed Aug 18, 2004 11:52 pm

well im just saying, he done the image tag code but he couldnt get it to work lol, but ill give a wack at it
GogenSSJ
 

Postby DenisF » Thu Aug 19, 2004 12:14 am

What's so complicated?

Code: Select all
-HTML-
<img src="http://mysite.com/myimage.jpg"></img>

-XHTML-
<img src="http://mysite.com/myimage.jpg" />
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby Questutis » Thu Aug 19, 2004 1:13 pm

I don't think that you need to end </img> in regular, standart HTML :)
Questutis
 

Postby GogenSSJ » Thu Aug 19, 2004 1:54 pm

Code: Select all
<img border="0" src="http://mysite.com/myimage.jpg" width="0" height="0" />


thats the code we used but still didnt work lol , and when i edited it by taking out the border width and height every thing screwed up, but other than that its the normal code
GogenSSJ
 

Postby DenisF » Thu Aug 19, 2004 2:19 pm

@Questutis
you're wrong young padawan, in HTML4 you must close every tag.
ie <br></br>, <img></img>, etc'

@GosenSSJ
Did it occur to you that the image might not be there? :)
that tag looks perfectly fine to me.

btw, when you use xhtml, any alphanumeric value must be suffixed by a type.
ie, border="0px", border="0%", etc'.
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby sjaz » Thu Aug 19, 2004 2:38 pm

also useful to have an alt attribute. The width and height being 0 is a touch concerning too ;).
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 689
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby DenisF » Thu Aug 19, 2004 3:27 pm

Word, i didn't pay attention to that though, thought he edited out the real height and width
Image
[ FAQ ] :: [ Policy ] :: [ Port Forwarding Guide ] :: [ Search ]
User avatar
DenisF
Forum Admin
Forum Admin
 
Posts: 679
Joined: Mon Dec 16, 2002 9:09 pm
Location: Israhell

Postby afonic » Thu Aug 19, 2004 4:10 pm

Holy shit, what is this <a href='http://mysite' target='_blank'>http://mysite</a> thing?

GogenSSJ mate, put your bloody image inside the public_html folder of your account and name it image.jpg

Then open notepad and write these: (copy-paste)

<HTML><HEAD><TITLE>My Image</TITLE></HEAD>
<BODY>
<IMG SRC="image.jpg">
</BODY>
</HTML>

Save this file as index.html and put it in public_html folder as well, together with your image file. Go to your address, you should see the image.

......
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 685
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby afonic » Thu Aug 19, 2004 4:14 pm

By the way if all these are to make the under construction page, imagine when you'll try to make the real page!

I hardly suggest to use Dreamweaver or another WYSIWYG page creation app.
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 685
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby sjaz » Thu Aug 19, 2004 4:34 pm

Its called learning.

I agree with using relative linking as you say as opposed to absolute.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 689
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby afonic » Thu Aug 19, 2004 11:55 pm

It's called learning when somebody tells you and you learn, not when you need 10 posts for the bloody <IMG> tag and inserting an image in your page!

Anyway, good luck with your page, but I still suggest you get an editor!
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 685
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby GogenSSJ » Fri Aug 20, 2004 1:53 am

lol yes i do need to get an editor, at one time i had home world or somthing like that but i dont remember, and on the width and height abouyt the 0 i just put that there as an example cus i didnt feel like looking and seeing what height i used, and on another note the image was in that public_html folder lol
GogenSSJ
 

Postby sjaz » Fri Aug 20, 2004 10:47 pm

In future if you want help with your code, paste your actual code. Using "examples" doesnt help anyone when the error could have been several things in the code you posted.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 689
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby miker_alpha » Sat Aug 21, 2004 5:50 am

Also, IMNSHO, if you just want to put up pages an editor could be OK, bit if you want to write really good, efficient HTML - do it manually.
Most automatic tools fill your source with incredible amounts of bloat which is 1) unneccesary and 2) does not conform to standard.

... just my $0.02.

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby sjaz » Sat Aug 21, 2004 2:30 pm

w3c.org :D
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 689
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK


Return to Web development

Who is online

Users browsing this forum: No registered users and 1 guest

cron