4 Replies Latest reply on Nov 1, 2007 2:03 AM by (chrismo)

    JS-Scripting: problems with sizing Images in IDS CS3

    Level 1
      Hi there,
      I've got a problem with integrating images on IDS CS3 via javascript.

      I want to place an image on my page. This image has a position (x,y-coordinates) and a size (height&width). These informations I get from an XML-document.

      The positioning is no problem. But the size: how can I set the size of the frame containing the image? Actually I see no chance to set this parameter and the frame is always as big as the image is. But in some cases I want the image to shrink to a smaller size.

      I tried it with the command myPage.place(). But there is only a possibility to set the position but not the size.

      Hope you can help me,
      thanks Christoph