Forum OpenACS Development: Re: Random photo widget committed
Based on what you know of photo_album would it make sense to try to hook it to that API or reproduce the functionality of a subset?
The key difference I think would be it probably would be best to have the album or slideshow appear in a popup window (?)...
If popup_p is true, a new window would open with the pictures of the album_id shown in random_order, refreshed every regresh_rate of seconds.
If popup_p is false, include a back and forth button at the bottom of the picture, that will (on_submit) go one page forward or backward, while keeping all the values of the surrounding page. Not even sure if this is possible, maybe you can do some java script magic with embeded elements, but it might stress the capabilities of HTML.
Alternatively, just display all the pictures below each other (if popup_p is false, that is ;)).