2007-11-04 01:33:40 +01:00
|
|
|
# Adaptation to Newer Versions of ikiwiki
|
|
|
|
|
2007-10-30 16:31:35 +01:00
|
|
|
I tried using this plugin, but to no success so far. I used *gallery* git branch,
|
|
|
|
rebased it onto the *origin/master*, built a Debian package and installed that one.
|
|
|
|
|
|
|
|
However, I can't even get simply things like this to work:
|
|
|
|
|
|
|
|
$ cat web/index.mdwn
|
2008-07-21 13:31:57 +02:00
|
|
|
[[!gallery imagedir="b" vcs="0"]]
|
2007-10-30 16:31:35 +01:00
|
|
|
$ ls web/b/
|
|
|
|
1.jpg 2.jpg 3.jpg 4.jpg
|
|
|
|
$ ikiwiki [...] --plugin gallery web web.rendered
|
|
|
|
[...]
|
|
|
|
$ grep gallery web.rendered/index.html
|
2008-07-21 13:31:57 +02:00
|
|
|
<p>[[!gallery Failed to Read Directory b.]]</p>
|
2007-10-30 16:31:35 +01:00
|
|
|
|
|
|
|
When using `vcs="1"` it's no better:
|
|
|
|
|
|
|
|
$ ikiwiki [...] --plugin gallery web web.rendered
|
|
|
|
scanning index.mdwn
|
|
|
|
internal error: b/800x600-1.jpg cannot be found in web or underlay
|
2007-10-30 16:41:44 +01:00
|
|
|
|
|
|
|
--[[tschwinge]]
|
2007-10-30 21:59:04 +01:00
|
|
|
|
2007-11-03 17:19:43 +01:00
|
|
|
Its probably because of the restriction of permissions by plugins in newer version of IkiWiki.
|
2007-10-30 21:59:04 +01:00
|
|
|
For the time being, you can turn resizing off till I look into conditional underlay directory feature.
|
|
|
|
|
2008-07-21 13:31:57 +02:00
|
|
|
USAGE : [[!gallery imagedir="directory" resize="0"]]
|
2007-10-30 21:59:04 +01:00
|
|
|
|
|
|
|
New version updated at SVN REPO : http://ned.snow-crash.org:8080/svn/ikiwiki-gallery/
|
|
|
|
|
|
|
|
--[[arpitjain]]
|
|
|
|
|
2007-11-04 01:33:40 +01:00
|
|
|
|
|
|
|
# Bug With Referring to *js* and *css* Files
|
|
|
|
|
|
|
|
In the generated files `gallery/index/index.html` and `gallery/index/*/gallery_*`
|
|
|
|
it should not be referred to `/js` but to `../../js` and `../../../js`, respectively.
|
|
|
|
Likewise for `/css`.
|
2007-11-04 01:35:01 +01:00
|
|
|
|
|
|
|
|
|
|
|
# All Thumbnails on One Page
|
|
|
|
|
|
|
|
Could `rows="0"` be used to state that all thumbnails should be put on the same page,
|
|
|
|
no matter how much there are?
|