Posts: 286
Location: Tunbridge Wells
|
In the "save for web" option in Photoshop it gives you the choice of saving images as gifs or jpgs.
One way I have done it when creating websites using Photoshop (although probably not the quickest or best way) is to firstly save the sliced page. Then open it in your text editor and find the cell <td> you want to edit, it should look something like this:
<TD>
<IMG SRC="images/template_06.jpg" WIDTH=16 HEIGHT=73 ALT="">
</TD>
Set the default background colour of the cell. ie
<TD bgcolor="#cccccc">
Delete the cell content line so you are left with an empty cell:
<IMG SRC="images/template_06.jpg" WIDTH=16 HEIGHT=73 ALT="">
Replace it with the image of your choice. ie
<IMG SRC="mypicture.jpg" WIDTH=16 HEIGHT=73 ALT="">
So you end up with something like this:
<TD bgcolor="#cccccc">
<IMG SRC="mypicture.jpg" WIDTH=16 HEIGHT=73 ALT="">
</TD>
As I said, it is probably not the quickest way of doing it, but it worked for me.
The best way would be to not use Photoshop to create the website in the first place. Use it to adapt your graphics and then do the website using a text editor.
|