how to use html feature - Post ID 79734

User 106872 Photo


Registered User
92 posts

Right now I'm learning the newer(for me)features of vsd 5.96?
I was exploring the use of the slice tool in PS-imageready and the html code that goes with the sliced images. Slices are just a way of dividing up an image in imageready to use in a web page. The code it create is a table

<TABLE WIDTH=576 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="images/testslice_01.jpg" WIDTH=576 HEIGHT=298 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/testslice_02.jpg" WIDTH=576 HEIGHT=351 ALT=""></TD>
</TR>
</TABLE>


This is the code i want to put into the test webpage. It will show a graphic cut into two segments.
I open the html box and paste the code in the code window. Since I don't want to publish to the web, must i put something in the add files area and if so what exactly do I need to put there. Do I also need to add more code to the above code for CC to understand where it goes? Thanks for any help.
BTW I can place the images on the page directly I'm just trying to learn by this example how to use the html feature. Wyndham
User 282670 Photo


Registered User
3,940 posts

Hi Wyndham,
You will need to use the add files (in this case) to add the sliced images, however you can just the images into VSD using the picture tool if you choose to and VSD will make the code up for them or the html tool if you want, either way the pictures must be added to preview




User 106872 Photo


Registered User
92 posts

Bruzer, I added the 2 img files in the add files but in the line above where the html code goes, it ask for a html object. Sorry to be so dense but what goes in this line.
in preview I get two boxes but no images in the boxes that the code references
User 463058 Photo


Ambassador
1,085 posts
Online Now

In the code you have

SRC="images/testslice_01.jpg"

Try changing that to either

SRC="testslice_01.jpg"

or

SRC="files/testslice_01.jpg"

Do the same for the other image's code.
User 106872 Photo


Registered User
92 posts

Thanks for finding my error.Works fine
Wyndham

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.