Downloads

Download tar.gz 266.49 KB
MD5: 01ca5b5f3ad3900a70b4e71cef397ca0
SHA-1: d6fc853c9827dd356dbf37404a6a7a2f4226d357
SHA-256: a09e015ae659fee0b53880ab1e20b432aff2f9da3ca34f2903c5df91f4e2c4c0
Download zip 269.25 KB
MD5: 023777f563ca1b0af6d26a58b8010e71
SHA-1: fa773217c0b1a2ee6af5de32e67002d19d73a3e4
SHA-256: 23301bc5c6e8a1202db0d769e3f6e349c9fa930d1dcef145fe5ed97008f9e543

Release notes

How to use?
A first step, the use of function dfgallery_json generate json data:

  while ($images = db_fetch_array($result)){
    $array[] = array(
      'title' => $image['filename'],
      'timestamp' => $image['timestamp'],
      'thumbnail' => _photos_l($image['thumb'][$thumb]),
      'image' => _photos_l($image['thumb'][$view])
    );
  }
  $albums = array(
    array(
      'properties' => array(
        'title' => 'my album1',
        'description' => 'description',
        //'icon' => 'http://www.cmsns.com/misc/CMSNS.png',
      ),
      'images' => $array,
    ),
//    array(
//      'properties' => array(
//        'title' => 'my album2',
//        'description' => 'description',
//        //'icon' => 'http://www.cmsns.com/misc/CMSNS.png',
//      ),
//      'images' => $array,
//    ),
  );
  return dfgallery_json($albums);

The second step, the use of function dfgallery_html call flash:

  $v = array('url' => 'myimage.json', 'width' => 600, 'height' => 500,);
  return dfgallery_html($v);
Created by: eastcn
Created on: 6 Mar 2009 at 09:19 UTC
Last updated: 6 Mar 2009 at 09:20 UTC
New features
Unsupported

Other releases