PDA

View Full Version : posting image as front page for site


Atherium
June 29th, 2003, 05:05 PM
Just want to post an image as my front page for website.

Hey guys I am saving an image in photoshop as an html file and simply just want it to come up as the image for the front page of the site. But all I get is the dredded red x.

I am saving in "save for web" as an html file then ftping it to my site but it is still a no go.

Any help would be great, thanks.

Signature
June 29th, 2003, 05:29 PM
You can save images as html files?

You should have a html file and safe your image as jpg.
Then show the image on that html page.

Maybe somebody knows if it works the way you want to do it!?

Erik
June 30th, 2003, 02:47 AM
do you mean 'Imageready' or photoshop directly? Imageready will do that for you, it will save a jpg and the html code to show it.

If you upload there must be 2 files: one the image (jpg or gif) and one the html code.

Maybe you need to read some stuff on how HTML works.

Fozzybar
June 30th, 2003, 03:00 AM
just upload an image file to a webspace...link it and that's it...

Atherium
June 30th, 2003, 04:58 AM
my web provider said I had to save it as "index.html" and I did that but it is still not working, so how would I now link it?

Carnifex
June 30th, 2003, 05:50 AM
it's easy:
first you create any html document.
right-click on the document and set background picture=your picture.if it ain't big enough for the document it will be repeated beside each other.
upload the image to a server.
upload the html document to a server and rename it from whatever you called it to "index.html"

hope this is what you're looking for:)

Signature
June 30th, 2003, 06:23 AM
my web provider said I had to save it as "index.html" and I did that but it is still not working, so how would I now link it?

They didn't mean that you should save the image as index.html
Do it the way Carnifex wrote"
Or if you want it centered learn how simple html code works.
You should be able to learn it in one day if you find the right tutorials.
Or let somebody else write the html document for you.

It shouldn't take them more than 5 minutes.

Fozzybar
June 30th, 2003, 07:45 AM
why html???

Just kick the image-file on your webspace! That's it...:rolleyes:

Signature
June 30th, 2003, 08:11 AM
But he wants it as the front page of his website.
It won't be the front page of his website if he just uploads it :rolleyes:

egerie
June 30th, 2003, 09:21 AM
"Oh boy this is gonna be good I can tell." -Cleo

Fozzybar
June 30th, 2003, 10:22 AM
Originally posted by Signature
But he wants it as the front page of his website.
It won't be the front page of his website if he just uploads it :rolleyes:

Oh....hahaha! My fault...:rolleyes: :D

Behemoth
June 30th, 2003, 10:57 AM
ok, save the image as 'image.jpg' (or whatever)

then open notepad and type the following in:

<html>
<head>
<title>My page</title>
</head>
<body background="image.jpg">
This is my web page
</body>
</html>
save it as 'index.html' and upload both to your webspace.

When you load index.html your page will load. If you want it to do cooler stuff, you're gonna have to go away and learn HTML.

Signature
June 30th, 2003, 01:06 PM
Or:
<html>
<head>
<title>My page</title>
</head>
<body bgcolor="#000000">
<center>
<img src="image.jpg">
</center>
</body>
</html>
You can look up the code for the desired background color in Photoshop.
Maybe I made a mistake!? Can anybody confirm it?

Fozzybar: I guess you're used to "how do I post images" questions ;)

endregan
June 30th, 2003, 01:32 PM
before u get a domain you should learn some basic html. its not all that bad. but judging by your code...

<HTML>
<HEAD>
<TITLE>index</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR=#FFFFFF>
<!-- ImageReady Slices (index.gif) -->
<IMG SRC="index.gif" WIDTH=900 HEIGHT=720>
<!-- End ImageReady Slices -->
</BODY>
</HTML>

index.gif is not where it is suposed to be. it is not showing up therefore it is no in the same folder as index.html is. if it is in a diff folder example /images use:

<IMG SRC="images/index.gif" WIDTH=900 HEIGHT=720>.

If all else fails research webpage making on the web or get a book :).

Fozzybar
June 30th, 2003, 02:07 PM
Originally posted by Signature
Fozzybar: I guess you're used to "how do I post images" questions ;)

haha, yes...every second post is about this question, you know...:rolleyes: :p