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.
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]
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.
Please the phpwiki help page how to inline images.
http://phpwiki.sourceforge.net/phpwiki/InlineImages Without scare brackets it will just show the link!
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.
Yes, this was added 1.3.8 or 1.3.10
And it suddenly all makes sense...
thanks for your patience!
Log in to post a comment.
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.
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]
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.
Please the phpwiki help page how to inline images.
http://phpwiki.sourceforge.net/phpwiki/InlineImages
Without scare brackets it will just show the link!
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.
Yes, this was added 1.3.8 or 1.3.10
And it suddenly all makes sense...
thanks for your patience!