> i''m new of both webgen and ruby, so maybe this can be a dumb
> question, but
> i can''t recognize any solution by myself.
My teachers always said: there are no dumb question, only dumb
answers :) So, just ask anything and I will try to answer it!
> I use webgen 0.4.1 (the newest webgen .deb package).
> I''m trying to make a test gallery, without succeeding in it.
> i done (ehm, copied) the yeah.gallery file in the root directory:
>
> 1 title: Example Gallery
> 2 imagesPerPage: 32
> 3 images: gallery/*.jpg
> 4
> 5 mainPageMetaInfo:
> 6 inMenu: true
> 7 otherKey: value
> 8
> 9 galleryPagesMetaInfo:
> 10 orderInfo: 10
> 11 inMenu: true
> 12 ---
> 13 gallery/frate.jpg:
> 14 title: Test title
> 15 description: Long description of image
> 16
> 17 gallery/gas01.jpg:
> 18 title: Title2 of pic
> 19 mykey: mydata
Okay, do you have files called gallery_main.template,
gallery_gallery.template and gallery_image.template in your src/
directory? These templates do the actual rendering of a gallery and
can either be created by yourself or you can use a predefined gallery
style by using the command:
webgen use gallery_style <GALLERY STYLE NAME>
webgen currently ships with two gallery styles: default and slides.
The default style is very simple (useful as basis for creating a more
sophisticated one) and the slides style looks quite nice. Have a look
at http://webgen.rubyforge.org/examples/gallery_styles/index.html to
view sample pages showing them.
Also make sure you have rmagick installed (have a look at the output
of ''webgen check libs'')!
Bye,
Thomas