Skip to content

wdi-hk-10/lab-flickr-photo-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flickr Photo Search

Implement a simple photo search using the Flickr Public Feed.

Your Tasks

  • Search Flickr public photos based on tags and tag mode provided by users.
  • Display the photos in a 5x4 grid (note: at most, 20 photos will be returned).

Configurations

  • Use this url in your ajax request:
https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?
  • In your ajax call, use jsonp as your data type.
  • For example:
    $.ajax({
      url: "https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?",
      data: {
        format: 'json'
        // YOUR PARAMETERS
      },
      dataType: 'jsonp',
      success: // YOUR CALLBACK
      error: // YOUR CALLBACK
    });

Bonus

  • When a user clicks on an image, display a Bootstrap modal which displays the photo plus additional details returned from the public feed.

Additional Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published