Zipping Content

From TMM Wiki
Revision as of 11:18, 25 June 2009 by Tmmdan (talk | contribs)
Jump to navigationJump to search
CARMA
Extras
The Support Admin
Admin Areas
CARMA Home
Pseudo Streaming
Flash Player
Using mp4 Videos
Zipping Content
Third Party Content
X-Sendfile
Xmoov-php
TMMid

CARMA can create a ZIP file of any gallery or content on your site. The following three options change what content gets put in the ZIP file:

  • galid: the ID of the gallery you wish to zip. (Required)
  • num: the id number of the specific images or video clips. (Optional)
  • type: the CARMA video format. (Required for video sets)

Examples

  • <a href="zip.php?galid=2&type=wmv_high"> -- All the wmv_high video clips in video set 2
  • <a href="zip.php?galid=2&num=0&type=wmv_high"> -- The first clip of type wmv_high and in video set 2
  • <a href="zip.php?galid=3&num=1,2,3"> -- Images one, two, and three from gallery three

Note

You must have the program, zip, installed on your server and you must set the path to zip in the Configuration Admin. The default path set in the configuration is /usr/local/bin/zip.