11
4 月
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:
- Uploading
- 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.
- Displaying
- The UI will look like that of Gallery.
- A list of galleries with their name and thumbnail will be displayed.
- By clicking the thumbnail of albums you’ll enter the next interface with all the pictures of that gallery on a transparent floating bar.
- By clicking thumbnails on the transparent floating bar, you see the full-sized picture loaded below the floating bar.
- Next/Previous/Slideshow will be available in the Flash UI.
- Setting
- Able to change title or description of an uploaded image. (Is there some existed plug-in for this?)
- Some Flash UI setting. For example the background color, the slide show interval and etc.
- Usage
- In a separated gallery page
- Inline with your post.
- Installation
- 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.
- A flash file (.swf) of Gallery5.
Problems:
- The object/embedded tag for displaying flash is too long; I need to make it easier to be used. Maybe some JavaScript will help.
- 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.