If you read Daves going crazy with pictures stuff (and his musings about using sequences of pictures in one story), and you think this would be cool for the Python Desktop Server as well: it's already there  The PicturesTool gives you many ways to add pictures to your weblog. The first step though is to activate it. Just go to your picture preferences and fill in the picture path to point to a directory locally on your machine. Now to add a set of pictures, just put them in there (everything that PIL can read is fine). Then go to your pictures upload page and add a title and description for any pictures you want to upload. Press the upload button. Now in your pictures index page you have all your uploaded pictures listed. To use them in a story, just call the following macro:
$pictures.imageTag(PID, (200,150))
Put the pictures ID in instead of PID and maybe use another bounding box (the example uses a 200x150 pixel bounding box - pictures are always rescaled to fit the bounding box with preserving the aspect ratio of the original picture). Another option to adding them to postings or stories would be to publish them as a picture blog. To do this, you just need to go into each picture that should be published in your picture blog and set the publish property to yes. That's all to it, have fun! |