Announcement

Collapse
No announcement yet.

Calling an image file from a fragment

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Calling an image file from a fragment

    THe problem is that I can't call an image file from a section text fragment, unless I specify the absolute path to the file.

    e.g. THis works from within the fragment with D as the drive: <img src="///D|/Program%20Files/Actinic%20v7/Sites/Site1/k-group_320x200.png" width="320" height="200">

    THis does not work: <img src="k-group_320x200.png" width="320" height="200">

    Note - k-group_320x200.png is inside "site1" folder. Also, it is necessary to upload k-group_320x200.png as an external file in Advanced | Additional Files

    Why would I even want to do this? Well I was hoping to use plain old HTML to lay out images and tables in my product fragment. It's difficult to make Actinic do the things exactly like I want it to do -- if that makes any sense.

    I would rather not have to specify the path. Also, using absolute path means that it will work either on the server or in preview mode but not both. Is there some other syntax to get around this?

    Thanks
    Keno

    #2
    Simplest thing is to use "<img src="k-group_320x200.png" width="320" height="200">" type references, and keep these images in PreviewHTML.

    You'll still need to upload them via Advanced / Additional Files, but now get them from PreviewHTML.
    Last edited by NormanRouxel; 17-Dec-2004, 10:16 PM. Reason: Amended post
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Good Idea

      Thanks Norman,

      That worked great.

      Comment

      Working...
      X