]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/Include_attachment_in_a_page/comment_1_275aad6ca3b2972749b7f6636b130035._comment
Added a comment
[ikiwiki.git] / doc / forum / Include_attachment_in_a_page / comment_1_275aad6ca3b2972749b7f6636b130035._comment
1 [[!comment format=mdwn
2  username="http://jmtd.net/"
3  nickname="Jon Dowland"
4  subject="comment 1"
5  date="2012-04-02T12:51:33Z"
6  content="""
7 Forgive me if I don't fully understand the question, but:
8
9  * the attachment functionality includes a button \"Insert Links\" which, on the edit form for a page, inserts the correct markup to link to the attachment, which addresses the general case
10
11  * For images which you want inline, you could convert the basic wikilink e.g. `\[[foo.png]]` into a call to the [[plugins/img]] plugin e.g. `\[[!img foo.png]]`
12 """]]