1 Reply Latest reply on Sep 4, 2006 2:34 AM by Newsgroup_User

    trying to insert an image by html tags in director movie

    mohsena
      Hello How are you ,The following codes are html tagas in a director movie that populate a table form a

      list ,I just wanted to insert an constant image in front of as the

      third column of the table ,I added this syntax

      "put "<TD>"<img src="image.jpg" width="144" height="50">"</td>" after

      html as you see bold in the following codes
      and I inserted the image.jpg in the root directory of the movie

      director

      Html codes that make and populate the table:
      html = "<HTML><BODY><TABLE BORDER=1><TR>"

      -- create headings row
      repeat with i = 1 to gDatabase[1].count
      put "<TD>"&getPropAt(gDatabase[1],i)&"</TD>" after html
      end repeat
      put "</TR>" after html

      -- put each entry in a row
      repeat with i = 1 to gDatabase.count
      put "<TR>" after html

      -- put each item in a column
      repeat with j = 1 to gDatabase .count
      -- put gDatabase

      put "<TD>"&gDatabase [j]&"</TD>" after html

      put "<TD>"<img src="image.jpg" width="144" height="50">"</td>"

      after html
      end repeat
      put "</TR>" after html
      I encounter an error ,would you please suggest me a way to insert an

      constant image in a row ,