Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Flickrservice 0.3 problems

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 689 Views
  • g4m3c4ck
    Community Member
    11 Posts

    Flickrservice 0.3 problems Link to this post

    I have flickrservice working but I can't get it to organize by tags or sets. It only works with the user I put in photos taken by. Has anyone fixed this bug yet?

    I ask because I want multiple galleries on a site organized by sets. All I get when I try to use this function is

    "Sorry, either no photos exist or I could not connect to Flickr.
    Flickr error message: Photoset not found"

    I can see when my server sends the request to flickr API and it responds back with a fail. Guess I will try to find the bug if I can.

  • g4m3c4ck
    Community Member
    11 Posts

    Re: Flickrservice 0.3 problems Link to this post

    Ok I figured it out. You HAVE to use the photoset numeric value in the URL when looking at the photoset in Flickr. I was using the name thinking the key and the actual name would suffice but it does not.

    Tag does not work because a bug in FlickrGallery.php

    In the function FlickrPhotos() in case 2 you need to change

    $photos = $flickr->getPhotos($this->Tags, NULL, $this->NumberToShow, $page, $this->Sortby);


    $photos = $flickr->getPhotos($this->Tags, $this->User, $this->NumberToShow, $page, $this->Sortby);

    Now it will properly Sort by tag for your user and not every frigging tag on Flickr


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.