This question about Not sure...: Asked

Use urlattach macro in perl script

-- LarissaPusch - 26 Apr 2019

On my server, I am using a perl script. In that script, I want to use % ATTACHURLPATH % as the location of my image file. The line is

$output = <img src= \"% ATTACHURLPATH % /A10.png \" target=\"_blank\"> Schematic</img>; (the spaces are not there normally, but if excluded, this line gets executed)


However, when loading the page on which the image should appear, and using the page inspector, the /pub/Support/Question1988 is not translated into a path, thus making it impossible to load the image. DO I have to specify in my script that I am using Foswiki macros somehow? Or doesn't this work at all?

 

QuestionForm edit

Subject Not sure...
Extension
Version Foswiki 2.0.2
Status Asked
Related Topics
Topic revision: r1 - 26 Apr 2019, LarissaPusch
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy