dfgallery 6.x-1.0-beta2
Posted by eastcn on March 24, 2009 at 1:03am
| Download | Size | md5 hash |
|---|---|---|
| dfgallery-6.x-1.0-beta2.tar.gz | 266.6 KB | ec3b0227da8fa12ffc2cd1e3f0bcc962 |
| dfgallery-6.x-1.0-beta2.zip | 269.94 KB | 994e19a7001b6e23e1b351d9362ccc8c |
Last updated: December 24, 2010 - 22:45
Release notes
Small patch..
dfgallery 5.x-1.0-beta1
Posted by eastcn on March 7, 2009 at 3:11am
| Download | Size | md5 hash |
|---|---|---|
| dfgallery-5.x-1.0-beta1.tar.gz | 266.53 KB | 1e79a7516c5a76f0ef3bf75c3add428c |
| dfgallery-5.x-1.0-beta1.zip | 269.37 KB | bf34363745446c134e6fe999e564f3ed |
Last updated: December 24, 2010 - 22:45
Release notes
for drupal 5.x.
dfgallery 6.x-1.0-beta1
Posted by eastcn on March 6, 2009 at 9:19am
| Download | Size | md5 hash |
|---|---|---|
| dfgallery-6.x-1.0-beta1.tar.gz | 266.49 KB | 01ca5b5f3ad3900a70b4e71cef397ca0 |
| dfgallery-6.x-1.0-beta1.zip | 269.25 KB | 023777f563ca1b0af6d26a58b8010e71 |
Last updated: December 24, 2010 - 22:45
Release notes
How to use?
A first step, the use of function dfgallery_json generate json data:
<?php
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:
<?php
$v = array('url' => 'myimage.json', 'width' => 600, 'height' => 500,);
return dfgallery_html($v);
?>