Your Cart

flickr plugin can’t find Photoset. Was working fine up until a few days ago.

These forums are now closed to new replies / tickets.

Please open a support ticket from our new Support page.

Front Page Forums Problems flickr plugin can’t find Photoset. Was working fine up until a few days ago.

  • gravatar
    The V.O. Dojo
    March 5, 2015 at 6:36 am

    The site uses jQuery to switch which set is shown. The code
    below worked up until a few days ago:
    ` // GALLERIA.JS SET UP // create a flickr instance var flickr =
    new Galleria.Flickr();

    // cache the gallery var elem = $(‘.galleria’);

    // create and append the loader growl var loader = $(‘

    ‘, { id: ‘loader’ }).appendTo(‘.galleria’);

    // a local var used later var set;

    // set flickr to not fetch description and increase the photo
    limit, change imageSize based on width // @media query in style.css
    tags ‘widescreen’ to body element for min-width 754px

    flickr.setOptions({ max: 90, sort: ‘interestingness-asc’,
    description: false, imageSize: ‘big’ });

    // attach event handler for the menu

    // extract the set id from the link class
    // e.g., set = '72057594102602315';
    set = $(this).attr('class');
    // add loader text and show
    loader.text('Loading '+$(this).text()).show();
    // load the set
    flickr.set(set, function(data) {
        // hide the loader
        // check if galleria has been initialized
        if ('galleria')) {
            // load galleria with the new data
  'galleria').load( data );
        // else initialize galleria (1st time)
        } else {
                // add the data as dataSource
                dataSource: data


    // Initialize Galleria
        imageTimeout: 40000,
        responsive: true,
        height: '.75',
        imageCrop: false,
        maxScaleRatio: 1,
        transition: 'fadeslide'
    // Keyboard navigation for gallery
    Galleria.ready(function() {
            left: this.prev


    The V.O. Dojo
    March 5, 2015 at 9:57 pm

    This code was basically lifted from a blog post by the Galleria
    dev team:

    I notice that the working example of that no longer works. It
    doesn’t load the images, but it also doesn’t throw a fatal error.
    Any idea what may have changed on Flickr’s end?

    The V.O. Dojo
    March 5, 2015 at 11:43 pm

    I solved part of my problem anyway. I used the class name to
    pass along the set ID, and Flickr used to just ignore the “active”
    that was also appended, now it’s more strict.

    Now I’m not getting the fatal error, but there’s something in
    the way I’ve set it up that is still a problem, possibly that the
    instance of the gallery is hidden at the start. More debugging

    The V.O. Dojo
    March 6, 2015 at 7:04 am

    Okay, in case anyone reads this, the old blog post of course
    doesn’t work because it’s not using the current version of
    Galleria. I had modified the example to pull the set ID from a
    class name, which is not ideal. Once I got everything updated to
    the new version it’s working again.

Galleria uses cookies to provide necessary site functionality. By using our website, you agree to our Privacy Policy. I understand