[pmwiki-users] Displaying an image

Petko Yotov 5ko at 5ko.fr
Wed Mar 22 07:17:13 CDT 2017


On 2017-03-22 13:06, Tami Hawes (PERA) wrote:
> Is it possible to make an image a link? How do you do that?

If you want to embed into the page a picture, that becomes a link, see:

   http://www.pmwiki.org/wiki/PmWiki/Images

In short:
   [[Link | Attach:example.jpg]]


If you need to have a text link to a picture without embedding the 
picture into the page, simply wrap the URL in double brackets:

   [[http://www.example.com/example.jpg]]
   [[Attach:example.jpg]]

or with custom text:
   [[http://www.example.com/example.jpg|text of the link]]
   [[Attach:example.jpg|text of the link]]

Petko
---
Change log     :  http://www.pmwiki.org/wiki/PmWiki/ChangeLog
Release notes  :  http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
If you upgrade :  http://www.pmwiki.org/wiki/PmWiki/Upgrades

> 
> -----Original Message-----
> From: pmwiki-users [mailto:pmwiki-users-bounces at pmichaud.com] On
> Behalf Of Petko Yotov
> Sent: Wednesday, March 22, 2017 4:58 AM
> To: pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Displaying an image
> 
> PmWiki does create an <img/> tag with the URL that ends in ".png",
> look at the HTML source of your page.
> 
> However, the domain clustrmaps.com is in at least one blacklist for ad
> servers, and if your browser uses an ad-blocker, or if you use the
> syndicated "/etc/hosts" file entries, chances are you will not be able
> to see the picture.
> 
> Same for any visitor that uses some protection against ads.
> 
> Petko



More information about the pmwiki-users mailing list