[dokuwiki] Re: image link to pdf file

  • From: Richard Mücke <mail@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 15 Jun 2020 19:17:37 +0200

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.

Have fun.

Greets
Richard

Am 15.06.20 um 14:11 schrieb Michael Sy.:

I have image on my page, and when clicked, a pdf file should be
opened/downloaded. [...]

The intended way to provide PDF files is the Media Manager.
https://www.dokuwiki.org/media_manager

BTW: Via forum.dokuwiki.org you probably would have gotten an answer faster.

HTH - Michael Sy.

--

IT-MÜCKE - Ihr zuverlässiger EDV-Partner!
Inh.: Richard Mücke | Zähringer Straße 4 | 68239 Mannheim
Mobil: +49 - (0)172 - 32 65 233 | E-Mail: mail@xxxxxxxxxxxx
Web: it-muecke.de
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: