How do I use the Archive Upload feature using API calls?

therckenrath

Joined: 2007-05-16
Posts: 1
Posted: Wed, 2007-05-23 18:18

Hello All,

I am integrating Gallery2 with MODx and I want to be able to upload zipped archives using API calls.

Uploading zipped archives via the embed module works fine.

When I try to upload an archive using the GalleryCoreApi::addItemToAlbum() call, the file is uploaded and added to the album, however it is not being recognized as being an archive and none of the images are extracted.

I searched the G2 source files for references to the ArchiveExtractToolkit class but have been unable to find any.

Could someone please point me in the right direction?

Thanks,
Terry