Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Prothero 422 posts 1243 karma points MVP c-trib
    May 24, 2010 @ 19:32
    Jason Prothero
    0

    How to install

    How To Install:

    1. Install the package from the “Packages/Install local package” item in the “Developer” section in the Umbraco Admin area. (Normal package install)

    2. Get a Flickr API key for your website

    To get a key go to this page: http://www.flickr.com/services/api/keys and sign up. Your should get your key right away.

    3. Add the config into your web.config and add your API key.

    <configuration>
     
    <
    configSections>
       
    <
    section name="flickrNet" type="FlickrNet.FlickrConfigurationManager,FlickrNet"
           
    allowLocation="true" />

        ...
     
    </
    configSections>

     
    <
    flickrNet apiKey="yourFlickrAPIKeyGoesHere" secret="yourSecretGoesHere"
           
    cacheDisabled="true" >
     
    </
    flickrNet>

    ...

    <configuration>

    This could be an external file as well.

    If you want to use the FlickrNet caching, then make your config section look something like this:

      <flickrNet apiKey="yourFlickrAPIKeyGoesHere" secret="yourSecretGoesHere"
           
    cacheLocation="C:\\YOURWEBSITELOCATION\\App_Data" cacheSize="26240000" cacheTimeout="1:00:00" >
     
    </
    flickrNet>

    4. Add the FlickrPhotoList Macro to a page or template.  It should display a list of Tree photos.


    To customize the search see the documentation here: http://www.proworks.com/blog/2010/04/10/flickr-api-search-for-umbraco/

Please Sign in or register to post replies

Write your reply to:

Draft