<div dir="ltr">Thanks for the examples<div><br></div><div><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span>Attach:<span>{$:gifPTVspaced}</span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>is the problem.</span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>But longer story: </span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>the problem arose because the Site.ImageTemplate page I created stopped working (I haven't got to the bottom of that yet).</span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span>It turns out I was debugging the default-default image page template generated by thumblist2-actions.php (after searching for the strong "Back to Gallery")</span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>there is a line in there - </span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap">%p center% {*$PrevLink} [[{*$FullName}?action=browse | $[Back to gallery] ]] {*$NextLink}\\\\</pre><font face="monospace"><b style="background-color:rgb(255,255,0)">Attach:{*$UpDirUpFile}</b></font><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>but my ImageTemplate also has the same problem</span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>ngā mihi</span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span><br></span></span></pre><pre style="line-height:18px;max-width:100%;overflow:auto;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);white-space:pre-wrap"><span><span>Simon</span></span></pre><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 4 Apr 2022 at 22:46, Dominique Faure <<a href="mailto:dominique.faure@gmail.com" target="_blank">dominique.faure@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Cf. <a href="https://www.pmwiki.org/wiki/Test/AttachWithSpaces" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/Test/AttachWithSpaces</a><br>
<br>
What is the exact challenge?<br>
<br>
On Mon, Apr 4, 2022 at 11:26 AM Simon <<a href="mailto:nzskiwi@gmail.com" target="_blank">nzskiwi@gmail.com</a>> wrote:<br>
><br>
> We now have the cool markup Attach:[=some file name with spaces=]<br>
> but I have a challenge when the file name is already in a variable, e,g,<br>
><br>
>     [[Attach:{*$UpDirUpFile} | download]]<br>
><br>
> Does anyone have any suggestions for how I can solve this?<br>
><br>
> ngā mihi<br>
><br>
> Simon<br>
> _______________________________________________<br>
> pmwiki-users mailing list<br>
> <a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div>