Gallery With Avatar Images
This is the page to show a gallery with AVATAR-Images.
KLICK ON ONE OF THE THUMBNAILS OPENS THE GALLERY-VIEWER! |
The idea
My idea is the usage of "data form" pages of category "avatar:" with autonumbering of the pages.
This pages have (using the "avatar:_template" page) as content only the:
- "belongs-to-person" (per: pagepath Link to genealogy-person! )
- File-name of the images (type=file),
- Heading
- Caption
- Copyright notices
- Author
- Date ( of creation)
- Descritpions
- a button to add a new Avatar-image
- a tagcloud of all tags of the same category
And on such pages like here I use the ListPages Module to "simulate" a Gallery with the avatars ( like Thimbmails) as the overview off all the existing pages.
The Link of the pages leasds to the image page itself ( on an extra page) which shows the same Image in a Listpages module but with the Hammer-Navigator to the next image(=page) forward and backward in the category "avatar:"
Add a new AVATAR image
please - use a jpg file with near 110x130 pixels!
Existing AVATAR images in category:
Done with code:
[[module ListPages category="avatar" separate="no" order="title" perpage="40"]]
[[div style="float:left;width:160px;heigth:200px;border:1px silver solid;"]]
%%form_data{heading}%%
[[image %%form_raw{avatar-file}%% width="120px" link="*%%link%%" title="%%title%%" alt="%%title%%" style="border: 1px solid silver; padding: 1em;" size="thumbnail"]]
[[/div]]
[[/module]]