4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: dawolf on December 10, 2002, 09:00:29 AM

Title: Admin Tools
Post by: dawolf on December 10, 2002, 09:00:29 AM
Hello,

I am using 4images on http://www.ballguide.at/ as gallery system of choice :-)
Integration worked perfectly. 4images is really a great piece of work!

We are posting about 5 new cats each weekend (around 50 pics each) and i am going to write an admin tool which handles ZIP uploads.

You should be able to specify a (new) cat-name, ZIP file with pics in it and the script should create the category (just SQL insert into 4images_categories?! i guess its that simple) and create a directory matching the cat_id in data/media, then analyze the ZIP file (i am gonna write that code) and after that - move the images to the cat_id directory.

so far so good,
now i would like to use the "check for new images" and "create thumbs" functions from the admin suite that comes with 4images.
my question is: what functions do i have to use and what are the requirements to my script (includes, defines, etc?) to use them.

regards,
Daniel Wolf

PS: i already looked into the batch_upload plugin but it doesnt fit my needs because i need a great deal of customization

PPS: when the ZIP upload MOD is done, i can post a download location if anyone is interested.
Title: Admin Tools
Post by: Jan on December 10, 2002, 09:29:25 AM
Just see admin/checkimages.php and admin/thumbnailer.php.

Jan