• Images not working

    By Mark A Barton 2 decades ago

    Hi Ben,



    Looking good - but got an issue with the wiki markup for attached images e.g. [image:logo.gif] - it appears its trying to find the image like this - WikiTest.nsf/Pages/logo.gif



    e.g. Its relative to the database not the document. Is the help wrong or is it the URL?



    Cheers



    Mark

    • Fixed

      By Mark A Barton 2 decades ago

      Ben,



      Changed the WikiPage.Class



      Method: convertSingleBracket



      Under :

      Case &quot;img&quot;,&quot;image&quot;<br/>
              ' Image<br/>
              newText = |&lt;img class=&quot;wiki-img&quot; src=&quot;/| &amp; dbpath &amp; &quot;/pages/&quot; &amp; Me.Subject &amp;_<br/>
              |/$file/|  &amp; Strright(leftText, &quot;:&quot;) &amp; |&quot;|<br/>
      



      Mark

    • Wrong file

      By Benedict R Poole 2 decades ago

      Crikey, you must have downloaded 1.2.1 in the three minutes before releasing and updating the attached

      template when I realised that regression was still in there! The current download has the correct image:

      syntax parsing code in it. Thanks for your diligence!