Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

10/7/2007 6:40:40 AM
JohnDavidson-66.78.121.176
List all versions List all versions

RSS feed for the FlexWiki namespace

Related Topics

Flex Wiki Picture Gallery
.
Summary
a blog page about using FlexWiki for running a Picture Gallery

This is a FlexWiki topic being used to introduce a Picture Gallery capability.

I have create a PictureGalleryLibrary topic that contains a number of functions to display a navigation menu for a gallery of pictures and to display a single picture at a time. This is similar to the CNET implementation of a picture gallery, except that this version does not include captions. as with all FlexWiki WikiTalk libraries, access to the functions is included in you topics by creating a property 'With' and the name of the library.

With

This library only works with images uploaded to FlexWiki using the Upload and Attachment feature. The images must be located in the directory 'content/upload/images'. Create a topic with a call to the function PictureGallery(picFileList), as shown below:

 @@PictureGallery(["delete_namespace_dir.PNG","reload_done.PNG",
       "reload_init.PNG","default_admin.png","Derek L - Simpsons.jpg"])@@

It is important to remember to put the list of pictures inside square brackets: '[]'. This makes the whole list act as a single array, which is required by the PictureGalleryLibrary.

As FlexWiki does not currently allow uploads, you can find a working sample at FallScenery

If people tell me that they want a version that supports captions on the pictures then I will create that as well. The model for this is slightly different in that the picture will need to be linked for display in a FlexWiki topic page and the caption is then added to the topic. Instead of creating a list of images as above to drive the gallery, the user will need to specify a list of topics. The advantage of this is that this method allows creation of a document in separate topics, but with an ordered navigation through the various topics within the whole document.

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics