02-06-2012 01:06 PM
Hi,
I need some help in developing a multiple photo galleries in same view. I am currently refering to Beantown app as an example. Can some one please explain how this can be achieved with single contentFeed id? Any code example would be of great help.
Thanks,
Deepashree
Solved! Go to Solution.
02-06-2012 01:22 PM
Hi Deepashree,
There is not one way to do it—it depends on (a) your presentation, (b) what the data looks like, and (c) whether you're pulling a single content feed or multiple feeds.
I've attached an example of pulling a list of "photo sets" from Flickr, then pulling an individual "photo set" when the user requests it. Both feeds are parameterized. There are three presentations in this one view: a list of galleries, an individual gallery, and the photo carousel itself. You might choose to present the content a different way.
More on the Flickr API: http://www.flickr.com/services/api/
Adam
02-06-2012 01:31 PM
By the way, this template is designed for tablets.
Adam
02-08-2012 11:02 AM
Hi Adam,
I think this method will work for me. Let me give it a shot and I'll get back to you if I get definite results.
Thanks,
Deepashree
02-23-2012 03:53 PM
Hi Adam,
The method of calling feeds via flickr worked for me. But since we have recently set up a request for the Flickr API key, its taking time. The support community at Flickr says the commercial keys usually take weeks of time to release API key to the user. Due to this after providing the Flickr userid in the settings, the feed is calling in all photo albums on Flickr besides the once required for the app. I hope I am correct that we require Flickr API key to manage the photosets. If this is true then is there a way that multiple photo galleries can be maintained by writing a master json content feed?
Deepashree
02-23-2012 04:05 PM - edited 02-23-2012 04:07 PM
Deepashree,
I believe you don't need a commercial key for educational/non-profit use.
Here's how I create a feed for PHOTO SETS (by user_id):
api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key=b8efa9db484985cc2cf2a3b248c6 332e&photoset_id={"photoset_id":"72157626631783822 "}&media=photos&extras=date_taken,url_t,url_z,url_ m&format=json
and an individual PHOTO SET (by photoset_id):
api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key=b8efa9db484985cc2cf2a3b248c6 332e&photoset_id={"photoset_id":"72157626631783822 "}&media=photos&extras=date_taken,url_t,url_z,url_ m&format=json
Notice the use of parameters inside { }.
See http://www.flickr.com/services/api/ for more info.
Adam
03-21-2012 03:47 PM
Are those the same feed in your example. I used the examples from the zip file, and I get the first initial thumbnail, but when I click to get to the set it shows up as a broken link.
Brightcove Inc., a leading global provider of cloud content services, provides a family of products used to publish and distribute the world's professional digital media. The company's products include Brightcove Video Cloud, the market-leading online video platform, and Brightcove App Cloud, the pioneering content app platform. Together, more than 4,200 customers in 50 countries rely on Brightcove's cloud content services to build and operate exceptional media experiences across PCs, smartphones, tablets and connected TVs.
Brightcove Inc.
© 2012 Brightcove Inc.
