[pmwiki-users] SVG cookbook: not displayed when Attach:file.svg is inside hyperlink

ABClf languefrancaise at gmail.com
Wed Mar 16 12:35:46 CDT 2016


I guess you have to add an image type in config :
http://www.pmwiki.org/wiki/Cookbook/AddImageType

Something like :
$ImgExtPattern = "\\.(?:gif|jpg|jpeg|png|svg|GIF|JPG|JPEG|PNG|SVG)";

Gilles.

2016-03-16 17:56 GMT+01:00 Jo Vermeulen <jo.vermeulen at gmail.com>:
> Hi,
>
> I'm having some difficulties displaying SVG's inline, when they're also
> linked. I have installed the SVG cookbook, and made the necessary changes to
> config.php.
>
> My markup used to look like this:
>
> [[http://www.example.com/ | Attach:icon.png]]
>
> I want to replace this by
>
> [[http://www.example.com/ | Attach:icon.svg]]
>
> The SVG displays fine if I don't include it in a link (i.e.,
> Attach:icon.svg), but just displays the linked Attach:icon.svg text when
> it's inside a link.
>
> Any ideas?
>
> Thanks!
>
> Cheers,
>
> -- Jo
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



More information about the pmwiki-users mailing list