[dokuwiki] Re: image link to pdf file
- From: Fourhundred Thecat <400thecat@xxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx, mail@xxxxxxxxxxxx
- Date: Tue, 16 Jun 2020 15:57:52 +0200
> On 2020-06-16 15:45, mail@xxxxxxxxxxxx wrote:
You added a "." in front of the pdf-file.
because I need to use a relative path
If you use my example, it works (for me):
by "it works", you mean, it links to a page /path/to/file.pdf.txt ?
Or you mean, when you click, actually pdf file opens/dowloads?
[[ :path:to:file.pdf |{{path:to:image.png?200|}}]]
Don't use the point.
when I remove the dot:
[[:pdf:file.pdf|{{.:img:pic.jpg?100|}}]]
the image links to non-existen page
/pdf/file.pdf.txt
Maybe I don't get your problem right. Could you explain it again and
with more details?
the problem is:
on my page, I have image linking to pdf file. When clicked, pdf should
open/doewnload.
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist
Other related posts: