AlbumOfSnapsPlugin
I want to develope a plugin which will be given only the directory name
which includes the snaps , it will automatically create web album.Alubums
will be indexed according to their directory and each page will have 4 snaps
and links to next page and next album in index as well as previous page and
prevous albums and link to index page.
--
NavalBhandari - 22 Sep 2004
You may be able to borrow some functionality from
ImageGalleryPlugin.
--
SamHasler - 22 Sep 2004
To get up to speed on Plugins development read
TWikiPlugins. It also contains some recommondation where to store Plugin specific data.
Question coming to mind:
- Security: It can be risky to let a user select a directory on a server. Possibly hardcode the image root dir and automatically create subdirs with sequential number names like Album1001, Album1002, etc
- How to get the photos up to the server. Could be a web form with 20 or so file input fields. Or you could allow upload of a zip file containing all files of an album
--
PeterThoeny - 23 Sep 2004
--
AshishKhurange - 12 Oct 2004
I am thinking to upload snaps directory as zip file. Our script will create folders in topic directory(i.e. image directory.
--
NavalBhandari - 13 Oct 2004
I am thinking to upload snaps directory as zip file. Our script will create folders in topic directory(i.e. image directory.
--
NavalBhandari - 13 Oct 2004
I have written perl script of
AlbumOfSnaps.Main feature is that it dosn't use any third party tool. I build it form scratch. Now to make is plugin i need your help. I am passing GET parameters to the script to select image or directory. How this thing can be incorporated with twiki architecture . i.e. One script contain all the modules to display directories in the main direcotory. When one directory is selected the same script is called with One GET PARAMETER (name of the directory) . Then the funcition show_thumbnails display all the snaps in that direcotry 20 at a time as thumbnails. If one image is selected I pass image id , Dir name and page number as GET PARAMETERS. Please suggest how this script can be conveted to plugin.
--
NavalBhandari - 18 Oct 2004
--
NavalBhandari - 22 Oct 2004
SIR I HAVE MADE Plugin . But when i tested it on my twiki it gives error "COULD NOT REGISTER " Please tell me how to register a plgugin after copying it in appropriate location
--
NavalBhandari - 24 Oct 2004
Sounds like you don't have a data/TWiki/pluginname.txt If then it does not appear on the table on
InstalledPlugins then there should be an error at the bottom.
--
MartinCleaver - 24 Oct 2004
Yes My Problem is Solved .Soon I will upload this plugin
--
NavalBhandari - 28 Oct 2004