I must be missing something about the way the module (or flickr) wants to behave.
My usecase seems obvious:
1. I have lots of photos
2. They are neatly organised into sets for various reasons
3. On my drupal site I want to randomly display images from *a specified set*
None of the options in this module seem to point me to this simple, direct, solution...?
What am I missing?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | flickr_block.random-photoset.patch | 3.73 KB | lyricnz |
Comments
Comment #1
Anonymous (not verified) commentedIf anyone else is interested in this feature request please subscribe
@boabjohn
Please consider writing this functionality and submitting a patch here for review
Comment #2
boabjohn commentedHowdy Paul,
Sorry, I'm not a coder at all. If it helps, here's a bit more explanation.
My context is that a community organisation uses a common Flickr account to share and organise their extensive photo collection. There are multiple contributors from various offices across the country. These people are communications officers.
On their organisational website, there are the usual thematic divisions to present content: here's our projects, here's our people, here's our partners... etc etc.
What we were expecting is that the Flickr module would allow us to drop a block instance into the sidebar at various points in the site, and then we could configure each block to pick up photos from an appropriate Flickr collection.
A friend wrote a once-off patch to get me to a single collection. I'll see if I can get him to post the code here for reference.
Cheers,
JB
Comment #3
lyricnz commentedHere's the code that I put in a custom block, to display a random photo from a specific photoset. The "theme function" at the start is a bit of a kludge - the code was experimental, so I didn't want to modify the theme. Of course, in a real block, most of this would be configurable. Enjoy!
Edit: Update comments to match code.
Comment #4
Mathews_1 commentedsubscribe
Comment #5
lyricnz commentedHere's a patch that creates a random-image-from-photoset block for Flickr 6.x-1.0-beta1
Comment #6
Anonymous (not verified) commentedThanks for the work done here.
Ill get this work committed to the development branch either later today / tomorrow.
Best, Paul
Comment #7
Anonymous (not verified) commented