[pmwiki-users] image filename extension for inline display
nigel.thomas at preferisco.com
Fri Sep 18 02:44:31 CDT 2009
See the example in PmWiki/Images
<http://www.pmwiki.org/wiki/PmWiki/Images>(although that refers to
.bmp, the same principle applies)
*Is there a way to attach a BMP and have it display rather than link?*
Add to config.php the following line:
$ImgExtPattern = "\\.(?:gif|jpg|jpeg|png|bmp|GIF|JPG|JPEG|PNG|BMP)";
Note that BMP images are uncompressed and quite heavy. You may wish to
convert them to PNG (lossless) or JPG (lossy) format, and thus reduce 5-20
times their filesizes.
You should be able to do the same with .svg
2009/9/18 W Randolph Franklin <pmwiki at wrfranklin.org>
> I'd like to have SVG files displayed inline as images, along with JPG
> etc. What needs to be modified? Browsing config.php and searching
> this list's archives failed to find an answer.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users