]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/gallery/discussion.mdwn
Merge branch 'master' of git://github.com/joeyh/ikiwiki
[ikiwiki.git] / doc / plugins / contrib / gallery / discussion.mdwn
1 # Adaptation to Newer Versions of ikiwiki
2
3 I tried using this plugin, but to no success so far.  I used *gallery* git branch,
4 rebased it onto the *origin/master*, built a Debian package and installed that one.
5
6 However, I can't even get simply things like this to work:
7
8     $ cat web/index.mdwn
9     [[!gallery imagedir="b" vcs="0"]]
10     $ ls web/b/
11     1.jpg  2.jpg  3.jpg  4.jpg
12     $ ikiwiki [...] --plugin gallery web web.rendered
13     [...]
14     $ grep gallery web.rendered/index.html 
15     <p>[[!gallery Failed to Read Directory b.]]</p>
16
17 When using `vcs="1"` it's no better:
18
19     $ ikiwiki [...] --plugin gallery web web.rendered
20     scanning index.mdwn
21     internal error: b/800x600-1.jpg cannot be found in web or underlay
22
23 --[[tschwinge]]
24
25 Its probably because of the restriction of permissions by plugins in newer version of IkiWiki. 
26 For the time being, you can turn resizing off till I look into conditional underlay directory feature. 
27
28 USAGE : [[!gallery imagedir="directory" resize="0"]]
29
30 New version updated at SVN REPO : http://ned.snow-crash.org:8080/svn/ikiwiki-gallery/
31
32 --[[arpitjain]]
33
34
35 # Bug With Referring to *js* and *css* Files
36
37 In the generated files `gallery/index/index.html` and `gallery/index/*/gallery_*`
38 it should not be referred to `/js` but to `../../js` and `../../../js`, respectively.
39 Likewise for `/css`.
40
41
42 # All Thumbnails on One Page
43
44 Could `rows="0"` be used to state that all thumbnails should be put on the same page,
45 no matter how much there are?