PicLens Example Code
At our meeting last night, http://groups.drupal.org/node/13812, I presented the PicLens module for Drupal and showed how to hook up your own custom modules into the PicLens module API.
I have attached my example module for Drupal 5 and the Drupal 5 version of PicLens.
To use this module install the PicLens add-on and then
- Download pldemo.zip.txt, rename to pldemo.zip and unzip and install the pldemo module in the normal manner and enable in the module admin
- Enable the upload module if not already enabled and enable file attachments for the 'page' node type
- Create or edit a page node and attach one or more JPG or PNG images to it - I don't have full mimetype support in the demo for other PicLens supported media and that can be left to add as an exercise
- Save the node
- Click 'Start Slideshow' in the node body or the PicLens icon in the browser.
Enjoy and reply here with questions.
Related Links:
http://www.cooliris.com/
http://developer.cooliris.com/faq.php
http://drupal.org/project/piclens
Dan DeGeest
Lead Software Developer
iMed Studios
http://www.imedstudios.com
| Attachment | Size |
|---|---|
| PicLensDemo.zip_.txt | 1.66 KB |


Ical feed