Reply
Contributor
deeps_patil
Posts: 22
Registered: ‎06-28-2011
0 Kudos
Accepted Solution

Multiple photo galleries

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 

Brightcove Team
BC-Adam
Posts: 160
Registered: ‎06-23-2011
0 Kudos

Re: Multiple photo galleries

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

Brightcove Team
BC-Adam
Posts: 160
Registered: ‎06-23-2011
0 Kudos

Re: Multiple photo galleries

By the way, this template is designed for tablets.

Adam

 

Contributor
deeps_patil
Posts: 22
Registered: ‎06-28-2011
0 Kudos

Re: Multiple photo galleries

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

Contributor
deeps_patil
Posts: 22
Registered: ‎06-28-2011
0 Kudos

Re: Multiple photo galleries

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

Brightcove Team
BC-Adam
Posts: 160
Registered: ‎06-23-2011
0 Kudos

Re: Multiple photo galleries

[ Edited ]

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=b8efa9db484985cc2cf2a3b248c6332e&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=b8efa9db484985cc2cf2a3b248c6332e&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

 

Regular Visitor
jwhitebnp
Posts: 7
Registered: ‎11-29-2010
0 Kudos

Re: Multiple photo galleries

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.