[cvs] commit: ansel/scripts ansel.php
Chuck Hagenbuch
chuck at horde.org
Wed May 19 12:28:46 PDT 2004
chuck 2004/05/19 12:28:46 PDT
Modified files:
scripts ansel.php
Log:
From Vijay Mahrra <vijay at mahrra.com>:
this is a patch to the ansel cli script i submitted earlier which adds a further
option to upload all files in a directory. this will need further work to add
recursively and create sub-galleries etc.
i created two new functions, one is getImageFromFile() reads a file (if it's a
valid image) into an array that ansel understands. perhaps this should be in
the main ansel library or maybe we need a new class that extends ansel called
Ansel_CLI that has such file functions?
the other function performs most of the new functionality - it reads the files
in a dir, checks if they're valid images, and if so attempts to store them in
the selected gallery.
any comments and feedbacks would be great on how to improve and extend the cli
Revision Changes Path
1.2 +118 -25 ansel/scripts/ansel.php
Chora Links:
http://cvs.horde.org/diff.php/ansel/scripts/ansel.php?r1=1.1&r2=1.2&ty=u
More information about the cvs
mailing list