• Resolved Alberto

    (@alberto2nuevocom)


    Hi, I added a Google Album on this page on the bottom, but just the first 30 photos appears… is it possible to increase this limit?

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

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

    (@sayontan)

    I am seeing 34 photos, not 30. Please check to verify how many are present in the album. Are you the owner of all the photos?

    Thread Starter Alberto

    (@alberto2nuevocom)

    Hi,
    yes, I’m the owner of the album.
    The album contains 50 photos, all added by another gmail account I added as a collaborator.
    If I change the order of the photos (for example I move the last one on the website in the position 35° on the album) on the website I see always the first 33 photos, and not the remaining 17…

    Plugin Author Sayontan Sinha

    (@sayontan)

    There is no filter in the code to limit the number of photos. Photonic can display an infinite number of photos – Google’s API returns a maximum of 100 photos in one shot, and you can use the more feature of Photonic to show the rest of the photos. There is definitely no arbitrary cap for the number or photos.

    Moreover, in your first post you mentioned 30, and in your second post you mentioned 33. But I am seeing 34. What is the exact number you are seeing?

    Can you please provide me with a shared link for the album? I need to be able to verify the photos externally to rule out any privacy settings issue.

    Also, can you please change the Loading mode (Photonic →?Settings →?Generic Options →?Advanced →?Loading Mode) to “JavaScript Mode”?

    Thread Starter Alberto

    (@alberto2nuevocom)

    You’re right, sorry, the exact number is 34 (I added the same album with squares at the bottom, so it’s easier to count).

    Here a shared link for the album: https://photos.app.goo.gl/BXdVD9F4oXdubxAq8

    I already tried the javascript mode (ate the moment is in javascript mode) but it doesn’t change.

    I tried also to add the same album in another website, but the result is the same..

    Plugin Author Sayontan Sinha

    (@sayontan)

    OK – there is a possibility that there is something incorrect going on with your API key.

    But before we troubleshoot further, see if you can add a more button. If you are constructing the shortcode using the Wizard, in the last screen where it says ‘Configure Your Layout’, look for the option that says ‘”More” button text”, and put in something like “Show More”. If it shows a button in your gallery, then Google’s API is internally breaking your photos into 2 pages. I don’t know why. But at least, you will be able to see all the photos by clicking on the button.

    If you are not seeing a “Show More” button, we can try troubleshooting this in a different manner:

    1. Go to Google’s API site for getting media items.
    2. Click on “Try it”, on the right side.
    3. Where it says “Request body”, click on the link to “Add request body parameters”, then add albumId.
    4. Provide the value AEWPHuwyiOZiZKUj0VyItKghlK2VMe9c9kGjQf_d9ajcBLbV5xt-nykS7bHJ7resLv3gwKQk8Quy, which is your album’s id.
    5. For “Credentials”, make sure you have “Google OAuth 2.0” and “API Key”, both selected.
    6. Click on “Execute”.

    See what you get in the output. Are you getting 50, or 34? If you are getting 50, then there is something wrong with your API key. In that case, try creating another API key and redo the authentication steps, then retry the gallery.

    Thread Starter Alberto

    (@alberto2nuevocom)

    Hi,
    I made the “show more” text, and it works (you can see it at the bottom of this page).
    The button appears, and I see all the photos if I click show more.
    Do you think there is a way to do not use the “show more” button and show all the pics immediatly?
    Should I try the Google API test?

    Really thank you for your support..!

    Plugin Author Sayontan Sinha

    (@sayontan)

    You can try the API test, but my guess is that you will see 34 even with that. Google’s documentation says that even if you request a certain number of photos, you might not get the same from the API. This happens very rarely, though.

    Thread Starter Alberto

    (@alberto2nuevocom)

    I tried other solutions with no success… I create two albums so I solve the problem.

    Thank you very much for your patience and help Sayontan Sinha!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘30 photos limit when whowing a Google Album’ is closed to new replies.