Your Cart

flickr Plugin imageSize not getting original image

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 imageSize not getting original image

  • gravatar
    Nico Brühlmann
    March 27, 2015 at 11:10 am

    Hi there,

    I got the flickr plugin working just fine on the following
    gallery-site: http://lowsand.com/gallery

    though, setting the option “imageSize” to “original” is only
    getting the “big” 1024px wide images. I’d like to show at least
    1600px wide images.
    could it be that this is caused by flickr’s updated photo urls?
    reading this: https://www.flickr.com/services/api/misc.urls.html

    it looks like they’re now only serving original photos by using a
    secretkey – can this be achieved via the galleria flickr plugin
    options?

    here’s the code I’m using to pull in the images from flickr
    ‘dynamically’ and display the gallery:

    var flickr = new Galleria.Flickr(),
    $i = 30; flickr.setOptions({ thumbSize: ‘medium’, imageSize:
    ‘original’, max: 30 }).user(‘lowsand’, function(data) {
    Galleria.run(‘#galleria’, { dataSource: data }); });
    $(‘.morebutton’).on(‘click’, function(e) { flickr.setOptions({
    thumbSize: ‘medium’, imageSize: ‘original’, max: $i+30
    }).user(‘lowsand’, function(data) { Galleria.get(0).push(
    data.splice($i,$i+30) ); // reloads the first galleria instance
    with the new data if(data.length < $i){
    $(‘.morebutton’).text(“that’s all”); } $i=$i+30; });
    e.preventDefault(); });

    THX,
    Nico


    gravatar
    Max Meissner
    May 20, 2015 at 3:23 pm

    Same problem here


    gravatar
    Max Meissner
    May 20, 2015 at 4:31 pm

    I found a solution: In file galleria.flickr.min.js, replacing
    “url_l” with “url_k”

    Carefull: Bakup the original galleria.flickr.min.js before you
    make changes!


    gravatar
    Nico Brühlmann
    May 20, 2015 at 6:33 pm

    Hi Max, thanks for the info – I tried, but “url_k” outputs even
    smaller images (640px) on my side. I think the problem is still
    flickrs secret key which can’t be retreived via the galleria flickr
    plugin.

    best,
    Nico


Galleria.io uses cookies to store information. You can read more about that in our Privacy Policy. I understand