dfgallery demo

This is a slide of the integration module, view the demo here: Demo

Dfgallery-2: http://www.dezinerfolio.com/dfgallery-2/free-flash-gallery

Module provides two functions for the call: dfgallery_json, dfgallery_html.

photos module using the slide function dfgallery.

Error: lack of language packs:

The error will disappear in seconds. It is caused by a lack of language pack, cvs does not support the language pack(.eden) format.
Based on the wrong path, please create an empty file. eg: ..../modules/dfgallery/dfgallery/resources/locale/dfgallery_en.eden

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(
      '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);//url: myimage.json

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

  $v = array('url' => 'myimage.json', 'width' => 600, 'height' => 500);
  return dfgallery_html($v);//view flash


  echo dfgallery_html(array('url' => 'http://album.cmsns.com/photos/data/album/1?type=json.json'));


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="680" height="520">
<param name="allowFullScreen" value="true" />
<param name="movie" value="http://album.cmsns.com/sites/all/modules/dfgallery/dfgallery/DfGallery.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value="xmlUrl=http://album.cmsns.com/zh-hans/photos/data/album/1?type=json.json" />
<embed src="http://album.cmsns.com/sites/all/modules/dfgallery/dfgallery/DfGallery.swf" quality="high"width="680" height="520" FlashVars="xmlUrl=http://album.cmsns.com/zh-hans/photos/data/album/1?type=json.json" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

If your php does not support the expansion json, please go here to download.

Please json.php renamed to json-php4.php, uploaded to the modules directory, such as: ../sites/all/modules/dfgallery/json-php4.php.

Project Information

  • Maintenance status: Unknown
  • Development status: Unknown
  • Module categories: Media
  • Reported installs: 195 sites currently report using this module. View usage statistics.
  • Downloads: 11,989
  • Last modified: December 1, 2014