]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/directive/img/discussion.mdwn
Merge branch 'ready/chrysn/linkmapenhancement'
[ikiwiki.git] / doc / ikiwiki / directive / img / discussion.mdwn
1 ## How to insert an image?
2
3 I have goodstuff; I don't have img disabled.
4
5 I used
6
7     \[[!img utah-2006-100-180.png]]
8
9 and
10
11     \[[utah-2006-100-180.png]]
12
13 and
14
15     \[[!img utah-2006-100-180.png link=no]]
16
17 But it doesn't show the image file I already put in that directory. I can access the file by directly going to it in my browser. I want to see it on my wiki page.
18
19 It does show a clickable question mark for ikiwiki.cgi?page=utah-2006-100-180.png&from=roadtrips&do=create
20
21 -- [[JeremyReed]]
22
23 > The question mark means ikiwiki does not know about your image. 
24 > It sounds as if you may have copied it onto your web server's `public_html`
25 > type directory manually. For ikiwiki to know about it, you need to put it in 
26 > ikiwiki's srcdir with the rest of the wiki content, or you could upload
27 > it with the `Edit -> Attachment` web interface.
28
29 > To display an image that is really legitimately not part of the wiki, 
30 > you can't use a directive, but you can insert `<img>` html if you really want to. --[[Joey]] 
31
32 I have a local copy of the [[rcs/Git]] page.  After installing the `imagemagick-perl` package some of the elements display and others are missing including the page outlines with turned corners and all of the yellow folders.  Ideas?
33
34 -- [[RonParker]]