News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Have mass import run at time intervals

Started by mkp, May 05, 2008, 09:43:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mkp

I have a webcam that takes a snapshot at designated time intervals and then runs a script that creates a file directory structure to put the picture into.  The directory structure is 4 levels (category, subcategory, album and then pictures) I have successfully install the Mass Import plugin and used it.  Now I would like to fully integrate it into the process so that every time the webcam takes a picture mass import is called, checks to see if the directory structure already exists inside coppermine and then imports the picture.  I am not sure how to go about this. Mass import already checks to see if the directory structure exists so I think I just need to call the php function with certain parameters that represent the settings for the import (ie Subdirectory under Albums) and then hits the Begin in essence.

Any ideas?

Thanks

Joachim Müller