• Resolved kaare 801

    (@kaare-801)


    I went through the google setup, and it seems to have worked OK.

    When I add a Photonic block to a post and start to configure it (Google Photos; Photos from an album belonging to you), when I get to the Pick Your Album dialog, it only pulls up 3 of my 300 or so google photos albums. If I press “More” I get 3 more. And so on. Search only searches within the albums I’ve already loaded. I can’t press “More” 100 times, and I can’t find a setting to cause Photonic to load all of my google albums.

    Photonic v2.77 is working well for my flickr album collection. WordPress 5.9.3 running Twenty Thirteen Child theme, firefox or chrome.

    Thanks in advance, -kaare

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    That’s weird – I know that I put “3” as a test value to test pagination, but I didn’t realize that I had left it in the code. I will release a patch for this on Monday, but if you want to fix it for now, please look at line 281 in wp-content/plugins/photonic/Admin/Wizard/Google_Photos.php (you can access this through the plugin editor too). You will see this line:

    $query_url = 'https://' . $this->api_base . '/v1/albums?pageSize=3';

    Please change it to:

    $query_url = 'https://' . $this->api_base . '/v1/albums?pageSize=50';

    Don’t exceed 50, or it will cause errors.

    Thread Starter kaare 801

    (@kaare-801)

    50 will be fine. And thanks for the 3-minute response time!

    Plugin Author Sayontan Sinha

    (@sayontan)

    This should be good with the current release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Photos – Pick your Album Dialog’ is closed to new replies.