Since I recently starting using phpWiki, I felt the need
for displaying a lot of photos on the wiki. I looked at how
the other plugins were created, took my old php manual
from the bookshelf and tried to create a plugin who does
(or anyway is going to do ) just what I need.
I called it the PhotoAlbum plugin and is yours to shoot
holes in it, since I'm not a very experienced php
programmer. But I am enthusiastic!
for an example.
<?plugin PhotoAlbum src=http://server/textfile
mode=[column|row] desc=true sort=false height=50%
The textfile is in the same folder is the pictures and can
look like this:
photo-01.jpg; Me and my girlfriend
christmas.gif; Merry Christmas!
- parse any local directory for pictures
- specify picture(s) as parameter(s)
- 'advanced' options such as limit pictures on one page,
use more pages, thumbnail function which enlarges
pictures on same page...
- implement more layout options, such as usage of
tables. Currently row mode with descriptions isn't very
Log in to post a comment.