Please provide me with a URL where the problem is occurring.
What shortcode do you have on this page?
[gallery type='flickr' view='collections' collection_id='72157723292703128' user_id='199381440@N04' layout='random']
Apologies for the delay in responding. I was traveling for work and did not have access to my development tools.
I took a look at your user_id using Flickr’s APIs, and I don’t see any collections there. Take a look here: https://www.flickr.com/services/api/explore/flickr.collections.getTree. If you are logged into Flickr, you can select the option to sing in as yourself with full permissions, and pass 199381440@N04 (your user id) into the user_id field. No collections are reported when I run this.
When I pass my user_id (35553131@N07) to this, I get a proper listing of collections.
I tried visiting your collections page as well (https://www.flickr.com/photos/199381440@N04/collections), and I see nothing there. Did you happen to make your collections private or hidden?
Hi,
They should be private as we do not want the pictures to be public. However before, when using the api key on the site, the collections were accessible (the photos part of the site is normally only accessible after logging in, but I’ve turned that off so you could look at it). Has something changed in Flickr’s policy then?
However before, when using the api key on the site, the collections were accessible (the photos part of the site is normally only accessible after logging in, but I’ve turned that off so you could look at it). Has something changed in Flickr’s policy then?
Nothing has changed with respect to Flickr’s policy. If your photos and albums are private, then using an API key is of no use – you will need to go through authentication to see any content.
And the private content should be accessible as I’ve set up the oauth token through Photonic’s authentication (which is why viewing e.g. private albums still is possible). Also a collection doesn’t have any privacy settings as far as I can find, only pictures within the albums of a collection.
Correct – a collection doesn’t have privacy settings. But I don’t know if Flickr has some limitations around using private albums in a collection, even if you have gone through authentication (I have never encountered use-cases where people had this setup).
Well it worked before, so then I can’t imagine Flickr having limitations on that part. And as using a single album still works, I really cannot figure out the issue.
Can you provide me with a link to a page where the single album works?
How are you setting up your Photonic gallery? I am not seeing any evidence of a shortcode or block there.
It’s a block, I’ve now changed it to shortcode.
Still the same challenge – when I do a “View page source” for the page, I don’t see where the Photonic shortcode (or block) is being called. When I search for “photonic” in the source code for your page, the only references I see are in the CSS definitions. Did you recently change your theme, or did your theme go through an update? Alternatively, did you add a plugin to optimize some behaviour on your site? Or, are you using another plugin to generate the Photonic shortcode automatically for each page? The reason this is important is that the call to Photonic may be getting handled by your theme or another plugin in a way that is preventing collections from working, i.e., the OAuth credentials might not be getting passed.
There is no issue with using a block vs. a shortcode, by the way, so changing something to a block or a shortcode should not result in a difference on the front-end.
Nope, not that I know of… Haven’t updated anything on the site in two years really, that’s why it’s also so weird to me that this is happening. I have installed a plugin or two, but already tried deactivating everything (even the ones that were installed since the beginning)… Isn’t it weird that only viewing a collection does not work? Everything else works fine…
Edit: don’t know if it helps, but when I try to edit the page with the shortcode to the collections, that sometimes crashes due to a critical error, which when debugging turns out to be due to an out of memory error.
-
This reply was modified 7 months, 2 weeks ago by
rachelvthull.
-
This reply was modified 7 months, 2 weeks ago by
rachelvthull.
-
This reply was modified 7 months, 2 weeks ago by
rachelvthull.