Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PSD and HTML

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
US
How can I build an HTML sites from psd file?? I have not failed; I merely found 100,000 different ways of not succeding...
 
Hi,

Can you explain more what you want. Do you want to make a template of pictures and backgrounds similar to ones found at using PSD then slice it up and fit it all together in your HTML page? Is that what you mean?

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
Hi, ok not really...my website has one big interface, which I wanna cut up and export (to cut back on the download time), I wanted to know how to do that...
Alot of sites I design I create the interface in Photoshop, then save as a GIF or JPEG, but these images take a long time to load... I have not failed; I merely found 100,000 different ways of not succeding...
 
Hi,

Simply make the whole interface using PS. Then by knowing your layout and where things will go you must decide on where to make your slices (conditional per site). I just use the guides instead of the slice tool, then I jump to ImageReady and optimize the file sizes of each piece.

Is that more what you are looking for?

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
That right, but I tried that once and the results were not good...I couldn't do it right...
Is there an step-by-step tutorial that shows me how to do that?? I have not failed; I merely found 100,000 different ways of not succeding...
 
Hi,

Here is something for you to try. This is not hard and is quite basic and I haven't seen any tutorials on this.

- Find any picture from the net and make sure it is a good size
- put a vertical guide half way
- put a horizontal guide half way
- use the marquee tool and select the first box from top-left to the center.
- copy it put it into a new document and note the size in pixels
- do that to each of the squares that the guides make
- then when you have all 4 seperate squares
- either jump to ImageReady (Ctrl+Shift+M) and optimise them, or just save them. This is only a trial so it doesn't matter.
- then in your HTML page put this:

<TABLE BORDER=&quot;0&quot; CELLPADDING=&quot;0&quot; CELLSPACING=&quot;0&quot; WIDTH=&quot;ENTIRE PICTURE WIDTH&quot; HEIGHT=&quot;ENTIRE PICTURE HEIGHT&quot;>
<TR>
<TD WIDTH=&quot;FIRST SQUARE WIDTH&quot; HEIGHT=&quot;FIRST SQUARE HEIGHT&quot;><IMG SRC=&quot;slice1.jpg&quot; WIDTH=&quot;FIRST SQUARE WIDTH&quot; HEIGHT=&quot;FIRST SQUARE HEIGHT&quot;></TD>
<TD WIDTH=&quot;SECOND SQUARE WIDTH&quot; HEIGHT=&quot;SECOND SQUARE HEIGHT&quot;><IMG SRC=&quot;slice2.jpg&quot; WIDTH=&quot;SECOND SQUARE WIDTH&quot; HEIGHT=&quot;SECOND SQUARE HEIGHT&quot;></TD>
</TR>

<TR>
<TD WIDTH=&quot;THIRD SQUARE WIDTH&quot; HEIGHT=&quot;THIRD SQUARE HEIGHT&quot;><IMG SRC=&quot;slice3.jpg&quot; WIDTH=&quot;THIRD SQUARE WIDTH&quot; HEIGHT=&quot;THIRD SQUARE HEIGHT&quot;></TD>
<TD WIDTH=&quot;FOURTH SQUARE WIDTH&quot; HEIGHT=&quot;FOURTH SQUARE HEIGHT&quot;><IMG SRC=&quot;slice4.jpg&quot; WIDTH=&quot;FOURTH SQUARE WIDTH&quot; HEIGHT=&quot;FOURTH SQUARE HEIGHT&quot;></TD>
</TR>
</TABLE>


The slice numbers I used correspond to this:
-------
|1|2|
|3|4|
-------

Hope this helps! NATE
spyderix.gif

design@spyderix-designz.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top