ラクラク日記

何のために生きていくのかの答えを見つけるために

I’ve been planning for my first (will be) plug-in for WordPress for a while. And below is my proposal.

Name: Gallery5
This is not the fifth version of the famous Gallery software; it just means that the installation should be finished in 5 minutes, if you have the ability to install any other plug-ins.

Brief: Help you to build your own gallery in a very very simple way.

Precondition: WordPress 2.0 or above, Flash Player/JavaScript enabled browser.

Function details:

  1. Uploading
    1. uploading will be integrated with WordPress’s image upload function, which allows you to upload your images to the server, add title and description for those images.
  2. Displaying
    1. The UI will look like that of Gallery.
    2. A list of galleries with their name and thumbnail will be displayed.
    3. By clicking the thumbnail of albums you’ll enter the next interface with all the pictures of that gallery on a transparent floating bar.
    4. By clicking thumbnails on the transparent floating bar, you see the full-sized picture loaded below the floating bar.
    5. Next/Previous/Slideshow will be available in the Flash UI.
  3. Setting
    1. Able to change title or description of an uploaded image. (Is there some existed plug-in for this?)
    2. Some Flash UI setting. For example the background color, the slide show interval and etc.
  4. Usage
    1. In a separated gallery page
    2. Inline with your post.
  5. Installation
    1. One PHP file to generate the XML file that used as the data source of the flash part to be put under the root directory of WordPress.
    2. A flash file (.swf) of Gallery5.

Problems:

  1. The object/embedded tag for displaying flash is too long; I need to make it easier to be used. Maybe some JavaScript will help.
  2. With WordPress’s upload function, the title and the description can only be set when the photo is uploaded. How if I want to change the title/description later. Maybe I need to create a page under ‘Manage’ for changing these things.