Author Topic: Admin Tools  (Read 3651 times)

0 Members and 1 Guest are viewing this topic.

Offline dawolf

  • Pre-Newbie
  • Posts: 2
    • View Profile
Admin Tools
« on: December 10, 2002, 09:00:29 AM »

I am using 4images on 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.

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.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Admin Tools
« Reply #1 on: December 10, 2002, 09:29:25 AM »
Just see admin/checkimages.php and admin/thumbnailer.php.

Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search


Post your comments here