var photoset = '72157631240409070'; <--- This is your photoset id.
var apikey = 'ce74fe26542211bf95f709b48eedd3'; <--- This is your API key.
var per_page = '5'; <--- This is how many photos you'd like to display (500 max)
Features:
•Photos popup in a lightbox-ish way.
•Photo titles are captioned on the opened photo.
•Photos popup in a lightbox-ish way.
•Photo titles are captioned on the opened photo.
You can get your photoset id by navigating to the set you want to share and looking at your browser address bar. The number following /Sets/ is your Photoset ID.
To get an API key go to: http://www.flickr.com/services/apps/create/apply/? and get one.
The code will NOT work with the current example API key
Next, just double check to be sure your set photos are public
Edit: If your REALLY don't want your album public, you can create a guestpass and hide an iframe to the pass page providing access for the photos to display. The trick is, it HAS to be done on a page that will be viewed prior to the page your gallery is displayed. So... If your photos are on your homepage you have to go public, but if your photos are on a page accessed after your homepage (and you never link directly), then stick this code on your homepage:


Serendipity Kitties