• Resolved roberth

    (@robharschnitznl)


    Dear sir, I love the Photonic app as it cuts down my workflow and provides neat galleries. However when uploading google albums to Photonic these are limited to the first dropdownlist of albums. Albums selected after ‘load more’ will not be included. The workaround in the manual ”
    [gallery type='google' view='albums' count='3' more='Load More']” does not work in my case, it only limits the number of pictures per album.
    A solution on my site that works well is changing above workaround to: \u0022count\u0022:\u0022\u0022,
    However everytime when I update the the gallery through the visual editor I have to manually reintroduce the new workaround which is cumbersome because I have to reselect all albums again.
    Question, can this new workaround be included in the visual editor so I don’t lose the previous selection of albums? Or is there a better solution?
    Below you find the shortcode for one of my galleries;
    <!– wp:photonic/gallery {“shortcode”:”{\u0022type\u0022:\u0022google\u0022,\u0022view\u0022:\u0022albums\u0022,\u0022count\u0022:\u0022\u0022,\u0022filter\u0022:\u0022ACY205FnWEJrrxZUSCYbwTyCEQ3SqNJiphLFgUqIxMoCZBf_P3tbQvWDnaCK9XuxYrM9TOwuzvxA,ACY205F_K9f7mMMkwK9hgFGXpPUgrimnIUrC7rUi8mcvuTmKOHmQgptaPvmtmOL69iRlNCAvXZZh,ACY205GLItPfpybHqo5E8S2gSHYkpEU7M\u002d\u002dqMhidE2TkfXLSNRU57KNUGERKxn-Cbg_r-XQT1D-l,ACY205HEjh4cGLL-ZLs1GsRqXqkr6JGbeQf9j5KtVTY4eo8lvek25Zttc3MpFB3FU6DE8Dqj6Zls,ACY205GA2a7DqR951cXPFFj31Y0_2rFjUjyPwAAUszEL4CNFWUkdjuUEnoRmaRSGUbaD9jXdt5QW,ACY205FizGv3YOJjIjm1TsdyfOTZ9W9GG7ki0K3MgEQzT8MZOJ6PBBsZpXHnakv0DTeNX_XfH-VU,ACY205G18ZqHjh7p5WCo0AEur3iso-_o6-2hiX8yoVYj-jB_xgxdRgK-AK1lMWTxE5Xj67Cdo7Ra,ACY205H8laN9Ven2A8zvu7B5b-9Vo2M3i0HKCrOIvLA2Ji1W2Ytv-UNVo4Vq28tkzJrWoWeK3tBC,ACY205HDIGu_Cde8HLQD8CXu4o69FT4m54ZrDG8LvFEfA5iaAZ-KaIAuSlqTJSMOIpkUrofo2j3_,ACY205FCbcS2jdvckg4yFxyV2gZqpD7uJdqPnacya8RqpW6gDYg78TlMsdsTTpXXKvan7xWGZsYJ,ACY205GS_217u7jMRD3tP6CAdnFX0FI54-yH5Y3QNSKE4YoaZ7KUtEEXgXuTOYhpQJJmcr9uxseA,ACY205H85OPq3ZpR2jf7ESyO_g915O4NUjUm4D_wFjSE4LCXXBoezD-oHz-GzVrdK1TyuQHjTfHj,ACY205H8ymuHpMY_tfCdRnbLpZbK2b1SfN77BGxz8fa4B1rWiq3HhiGSV7ufZM0VNKEmoiDLRbh-\u0022,\u0022access\u0022:\u0022all\u0022,\u0022title_position\u0022:\u0022hover-slideup-show\u0022,\u0022main_size\u0022:\u00221600\u0022,\u0022popup\u0022:\u0022hide\u0022,\u0022layout\u0022:\u0022random\u0022,\u0022crop_thumb\u0022:\u0022crop\u0022,\u0022columns\u0022:\u0022auto\u0022,\u0022thumb_size\u0022:\u0022150\u0022}”,”align”:”full”} /–>

    <!– wp:paragraph –>
    <p></p>
    <!– /wp:paragraph –>

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I also use Google Photos albums, here’s the shortcode I use:
    [photonic type='google' view='albums' layout='random' count='6' photo_count=100]

    Explanation:
    1. photonic is a custom shortcode tag I set in Photonic -> Settings -> Generic Options -> Generic settings -> Custom Shortcode.
    2. count='6' limits the number albums to the latest six, and the number of pictures in those albums to six.
    3. photo_count=100 makes all the pictures from the album load. Last time I checked, 100 is the maximum, any bigger will give you an error due to how the Google Photos API works.

    • This reply was modified 5 years, 4 months ago by nicegamer7.
    • This reply was modified 5 years, 4 months ago by nicegamer7.
    Thread Starter roberth

    (@robharschnitznl)

    Thanks for your tip, I did try this but does not work in my case. The number od photos in the galleries are limited to 6

    Plugin Author Sayontan Sinha

    (@sayontan)

    Apologies for the delay in responding – I have been traveling internationally, and have been very busy with my day job.

    Nicegamer7 is right, though. If you pass an additional parameter, photo_count=100, that should show 100 photos within your album.

    What is the exact URL where you are trying this? I am looking at https://harschnitz.nl/foto-galerij/, and I see that you are displaying 13 albums there, and in each album you are showing up to 100 photos.

    Note that as per the documentation, this is in the section that says “Show More” within Album.

    Thread Starter roberth

    (@robharschnitznl)

    Dear Sayontan, thanks for your reply.

    The Photonic plugin indeed works well after I added the following code through the page code editor;

    \u0022count\u0022:\u0022\u0022,

    Unfortunately I could not make the site work with above standard recommendations.

    Thread Starter roberth

    (@robharschnitznl)

    Final update: by translating above findings into shortcode the site now works perfectly.

    [count=’3′ more=’Load More’ photo_count=’100′] translated into shortcode:

    \u0022count\u0022:\u00225\u0022,\u0022more\u0022:\u0022load_more\u0022,\u0022photo_count\u0022:\u0022100\u0022,

    NB the ‘u022’ prefix is site specific.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Photonic limits number of google albums’ is closed to new replies.