[dokuwiki] Re: image link to pdf file
- From: Fourhundred Thecat <400thecat@xxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx, Richard Mücke <mail@xxxxxxxxxxxx>
- Date: Tue, 16 Jun 2020 15:21:42 +0200
> On 2020-06-15 19:17, Richard Mücke wrote:
Hello,
I found the solution to your request on dokuwiki.org:
https://www.dokuwiki.org/images
"To link images to other resources, simply pipe that link into the
image, as you would with any other text."
Example:
[[ :path:to:file.pdf |{{path:to:image.png?200|}}]]
will create an image which will open a pdf.
sorry, but this does not work.
[[ .:pdf:file.pdf |{{.:img:pic.jpg?100|}}]]
above example shows image, that is linked to (non-existent) page:
pdf:file.pdf.txt
That is the whole problem. How do I tell dokuwiki that I want to link to
file.pdf, instead of file.pdf.txt ?
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist
Other related posts: