• Hello,

    I found no way of initially displaying more than 1 album on the page.

    Clicking the “more” button also will load only one more album.

    Is there a way to fix that?

    Thanks.

    The page I need help with: [log in to see the link]

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

    (@sayontan)

    Not sure what is happening here. I tried replicating this with a much smaller number of albums, where I put one album on my exclusion list, then tried loading the rest in batches. It seems to work fine for me.

    What happens if you show all albums and don’t exclude anything? We can consider hiding the thumbnail for the excluded album after the fact, if this works alright.

    Thread Starter pbnet

    (@pbnet)

    Hello,

    So I tried the following:

    • What do you want to show: Multiple Albums
    • What do you want to show: Automatic All
    • What type of album: both shared and not shared albums
    • Circular Grid Layout
    • Layout:

    So I don’t know what I need to do ??

    Thread Starter pbnet

    (@pbnet)

    If I try all albums without deselecting anything, I get a 503 service unavailable, then nothing is shown on the page. I guess the query is too long.

    Thread Starter pbnet

    (@pbnet)

    OK, it’s a bit better when using Constrain Photos per Raw in the plugin’s settings. I’ve set it to Automatically calculate thumbnails per row. Now it still displays 1 album at first load, but upon clicking the “more” button, sometimes it loads 1 album, sometimes 2 or 4 more and I cannot figure out why.

    Thanks.

    Plugin Author Sayontan Sinha

    (@sayontan)

    If I try all albums without deselecting anything, I get a 503 service unavailable, then nothing is shown on the page. I guess the query is too long.

    This is weird, and should not be happening… if you are able to see all thumbnails in the Wizard, then you should see all thumbnails on your front page too. There isn’t much difference in the code between the two.

    Try this:

    1. Go to your WordPress Plugin Editor (Plugins → Plugin File Editor, in your WP dashboard).
    2. From the dropdown on the right side, pick Photonic.
    3. This will show a list of files within Photonic. From the right, navigate to Platforms → Google_Photos.php.
    4. Look for line #420, which says:
      $this->update_thumbnail_information($albums, $short_code);
    5. Comment out the above, by changing it to this:
      //$this->update_thumbnail_information($albums, $short_code);
    6. Save the file.

    After saving, try reloading your page. See if the 503 error goes away.

    Thread Starter pbnet

    (@pbnet)

    Tried that.

    Then:

    and now the page: https://www.suzeti.net/?page_id=4 remained in a perpetual loading state:

    What else should I do?

    Thanks.

    Plugin Author Sayontan Sinha

    (@sayontan)

    You have selected “All except selected albums”. Can you please pick “All albums” instead?

    Thread Starter pbnet

    (@pbnet)

    I tried that and back to the original issue.. 1 album displayed until I click on ” more”

    Plugin Author Sayontan Sinha

    (@sayontan)

    Instead of setting your count (“Number of albums”) to 10, can you change that to 50? Not sure if trying to show 10 is causing confusion for Google.

    Thread Starter pbnet

    (@pbnet)

    Done:

    and now at page load, I have 2 albums.. it’s better, but still not OK

    Plugin Author Sayontan Sinha

    (@sayontan)

    OK – at this point, I would say this is a Google error.

    You might want to try this:

    1. Go to the Google API documentation page.
    2. You will see a section to “Try this method”. If you don’t see it, click on “Try it”.
    3. For pageSize put in 50.
    4. Make sure “Google OAuth 2.0” and “API key” are selected.
    5. Click on “Execute”.
    6. Click through the authorization prompts.
    7. Once you are done, you will see the results.

    How many albums do you see there? If you are seeing 1 or 2, then it is definitely a problem with Google. If you are seeing 50, then it is likely a problem with your API key. In that case, I would suggest creating a new Client ID and reauthenticating that, then using that for Photonic.

    Thread Starter pbnet

    (@pbnet)

    If I try pagesize in Google developer, I see:

    {
    “albums”: [
    {
    “id”: “AA76VlM9OrwPXq8kzdW_<truncated.”,
    “title”: “11 FEB 2024 – Manastirea Robaia”,
    “productUrl”: “https://photos.google.com/lr/album/AA76VlM9OrwPXq8k<truncated>&#8221;,
    “mediaItemsCount”: “24”,
    “coverPhotoBaseUrl”: “https://lh3.googleusercontent.co

    }

    {
    “id”: “AA76VlP7wsD8bArrYRmpybjGf8c5yvZKwW<truncated>”,
    “title”: “4FEB2024 – Biserica Izvoarelor de Leac”,
    “productUrl”: “https://photos.google.com/lr/album/AA76VlP7wsD8bArrYRmpybj<truncated>&#8221;,
    “mediaItemsCount”: “30”,
    “coverPhotoBaseUrl”: “https://lh3.googleusercontent.com/l

    }

    ],

    “nextPageToken”:<truncated>

    }

    So you’re right, google seem to limit this, and I don’t know if there is something I can do about it.

    Thanks.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Try logging a support ticket with them; not sure if it will help, but it is possible that they will respond. Previously I used to log the tickets here: https://issuetracker.google.com/savedsearches/5156057.

    What is very puzzling, though, is that in the Wizard, you are able to see all your albums! Did you have to keep clicking “More” to see all your albums there?

    Thread Starter pbnet

    (@pbnet)

    Will do.

    Yes, I used the “more” button there too. Initially I also had 2 albums displayed there too.

    Thread Starter pbnet

    (@pbnet)

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Initial number of albums displayed’ is closed to new replies.