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?