Menu

Album thumbnail size

Help
Anonymous
2009-11-18
2013-04-15
  • Anonymous

    Anonymous - 2009-11-18

    Hi thank you very much for the plug-in. Its simple and great.

    I wanted to know if there anyway to get the medium size image from flickr as album thumbnail. Is it possible?

    Thanks,

    Yugan

     
  • Nobody/Anonymous

    Hi!

    From my experiments I would say that you control the size of the thumbnails by inserting a specific character within the code somewhere around line 454 within the jquery.flickrGallery.js file. Below is a sample of the code where you need to insert the character.

    p.getImgUrl = function (s) {
    if (!s) {s = '<thumbnail_size_here>';};
    return jQuery.flickrGallery.getImgUrl(
    

    And so that you want to get the medium size, the symbol is actually a blank one. Therefore in the example above you would leave blank the part where I have written <thumbnail_size_here> and it would look something like s=''. You can see all of the corresponding characters around line 612 in the same file.

    Hope it helps.

     

Log in to post a comment.

MongoDB Logo MongoDB