X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b2aa69762d7f1950281d838ad0f13092f62f3962..31e26d23ce207abc89296c8cf62385f6cdf855f5:/doc/plugins/img/discussion.mdwn?ds=inline diff --git a/doc/plugins/img/discussion.mdwn b/doc/plugins/img/discussion.mdwn index 7a70da65f..5ab1963c5 100644 --- a/doc/plugins/img/discussion.mdwn +++ b/doc/plugins/img/discussion.mdwn @@ -6,4 +6,22 @@ instead of linking to the PNG image file. --[[tschwinge]] > Done, use link=somepage --[[Joey]] -It would be handy if the `class` and `id` tags were passed through to the surrounding `table` in the case of `caption` being present. Would this break anything? --[[Nea +It would be handy if the `class` and `id` tags were passed through to the surrounding `table` in the case of `caption` being present. Would this break anything? --[[neale]] + +> Seems unlikely to break *too* much. I can imagine css that styles the img +> unexpectedly applying the table. --[[Joey]] + +[[!template id=gitbranch branch=kjs/img-sharpen author="[[Kalle Söderman|kjs]]"]] + +I have created a patch that allows the image to be sharpened when resampled. +There is also an additional option to interlace the image using plane for +progressive display. --[[kjs]] + +--- + +Is it possible to give an external image URL, must the image be local? One use case would be displaying *badges*, like [[the number of stars|https://img.shields.io/github/stars/joeyh/ikiwiki.svg]] of a [[github project|http://github.com/joeyh/ikiwiki]], but ``\[[!img https://img.shields.io/github/stars/joeyh/ikiwiki.svg]]`` does not work: [[!img https://img.shields.io/github/stars/joeyh/ikiwiki.svg]]. --[[Louis|spalax]] + +> Eventually wrote my own plugin: [[plugins/contrib/rimg]]. --[[Louis|spalax]] + +>> What's wrong with using a wikilink, \[[https://img.shields.io/github/stars/joeyh/ikiwiki.svg]]? +>> --[[smcv]]