Menu

Relative image references

Help
Anonymous
2004-07-01
2012-10-11
  • Anonymous

    Anonymous - 2004-07-01

    Hi:  I am trying to create relative references to images on the webserver, but can't figure out how.  I want to convert:

    [http://server/images/myimage.jpg]

    to:

    [/images/myimage.jpg]

    but phpWiki doesn't recognize it as an image reference.

    Thanks.

     
    • Reini Urban

      Reini Urban - 2004-07-02

      This is not possible. The http:// is needed, the server depends on your browser, the rest you have to guess.

      I would recommend to use a special Interwiki map entry for your Images

      Images http://server/images/

      [Images:myimage.jpg size=30x50]

       
    • Anonymous

      Anonymous - 2004-07-02

      Thanks Reini:

      Unfortunately this does not solve my problem of relative references, though it does isolate the servername in case it needed to be changed.

      Also, using the Interwiki map as you said does not inline images.

       
      • Reini Urban

        Reini Urban - 2004-07-02

        Please the phpwiki help page how to inline images.

        http://phpwiki.sourceforge.net/phpwiki/InlineImages
        Without scare brackets it will just show the link!

         
    • Anonymous

      Anonymous - 2004-07-02

      I guess I must be using an older version of phpwiki (1.3.4).  The example:

      [PhpWiki:images/wikibase.png]

      does not work from my wiki.  It just shows a link to the image, not the image inlined.

       
      • Reini Urban

        Reini Urban - 2004-07-02

        Yes, this was added 1.3.8 or 1.3.10

         
    • Anonymous

      Anonymous - 2004-07-02

      And it suddenly all makes sense...

      thanks for your patience!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.