Skip to content

flickr-bundle for Symfony developers #67

@tacman

Description

@tacman

I create a Symfony bundle that makes installing and using this library very easy.

https://github.com/survos/SurvosFlickrBundle

The README shows how to create a Symfony application by simply cutting and pasting from the command line. The hardest part is setting up the API Key and secret!

However, the demo simply shows one of my albums. What would be much more interesting is to integrate the auth, but I'm stuck on #66

In addition to putting the api key and secret in environment variables, there are 2 twig functions that make getting the thumbnail and the photo page easy. Note that if you embed the thumbnail in a webpage, you are required (by their terms of service) to provide a link to the photo page on Flickr.

   {% set url = flickrThumbnailUrl(photo) %}
        <figure class="figure">
            <a href="{{ flickrPageUrl(photo) }}" target="_blank">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions