This project is not covered by Drupal’s security advisory policy.

dfgallery demo

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


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' => '',
      'images' => $array,
//    array(
//      'properties' => array(
//        'title' => 'my album2',
//        'description' => 'description',
//        //'icon' => '',
//      ),
//      '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' => ''));


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="680" height="520">
	<param name="allowFullScreen" value="true" />
	<param name="movie" value="" />
	<param name="quality" value="high" />
	<param name="FlashVars" value="xmlUrl=" />
	<embed src="" quality="high"width="680" height="520" FlashVars="xmlUrl=" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="" />

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: 118 sites currently report using this module. View usage statistics.
  • Downloads: 12,432
  • Last modified: 1 December 2014
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.