• Resolved kencooperjr

    (@kencooperjr)


    Attempting to setup Photonic plugin
    Changed shortcode name to ‘GooglePhotos’

    Under Picassa Settings setup ‘Google Client ID’, ‘Google Client Secret’ and
    ‘Refresh Token (for Back-end / Server-side Authentication)’. Also got the refreshed token.

    Photonic

    Generic settings
    Custom Shortcode: GooglePhotos

    Picasa settings

    Google Client ID
    Google Client Secret
    Refresh Token (for Back-end / Server-side Authentication)

    Picasa / Google Refresh Token Getter

    This is the generated shortcode – am getting no pictures/albums?

    [GooglePhotos type=”picasa” user_id=’103743985926588032498′ kind=’album’ album_id=’AF1QipNXXvfvsLmSW_dGVAk0VzdHCtkyEBm-R_4Iym1W’ access=’public’ protection=’none’ max_results=’200′ more=’more’ layout=’square’ caption=’desc-title’ thumb_size=’72’ main_size=’1600′]

    Comments help are needed after a full day trying this that and the other am asking for help!

    Thanks – Ken Cooper

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

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

    (@sayontan)

    It doesn’t look like your album id is correct. Where did you get your album id?

    Also, if this is a Google Photos album (i.e. created after Picasa was retired), your access is highly unlikely to be public, and you will have better luck setting access='public,private,protected'.

    Thread Starter kencooperjr

    (@kencooperjr)

    This morning blew away all previous ‘code’ and started from scratch using this URL:
    https://aquoid.com/plugins/photonic/picasa/picasa-albums/

    Used your code:
    [gallery type='picasa' user_id='sayontan' access='public,protected,private' layout='random']
    on my test page (changed the user_id) and worked straight out! This does display ALL albums.

    Then made a change to the short code specifying a sungle album id:
    [gallery type='picasa' user_id='[email protected]' albumid='6303927593541070049' max_results='5' more='more' access='public,protected,private' layout='masonry' ]

    Behaves properly – great – exactly what want!!!!!!!!!!!!!

    BTW getting the albumid from Photonic ? Helpers ? Picasa/Google Photos ? Picasa / Google Photos Album ID Finder
    Really a slick tool!

    Now – do have a problem –

    If I add a second album id:
    [gallery type='picasa' user_id='[email protected]' albumid='6303927593541070049, 6302480954589190849' max_results='5' more='more' access='public,protected,private' layout='masonry' ]

    I get the following three warning messages and no albums:

    Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, ‘<‘ not found in C:\Websites\www.gallerypro.dev\wp-content\plugins\photonic\extensions\Photonic_Picasa_Processor.php on line 246

    Warning: simplexml_load_string(): Invalid entity id: 6303927593541070049, 6302480954589190849 in C:\Websites\www.gallerypro.dev\wp-content\plugins\photonic\extensions\Photonic_Picasa_Processor.php on line 246

    Warning: simplexml_load_string(): ^ in C:\Websites\www.gallerypro.dev\wp-content\plugins\photonic\extensions\Photonic_Picasa_Processor.php on line 246

    How can I, if It is permitted, display the content of 2 (or more) albums?

    Thanks – Ken

    • This reply was modified 6 years, 11 months ago by kencooperjr.
    Plugin Author Sayontan Sinha

    (@sayontan)

    Instead of saying albumid='6303927593541070049, 6302480954589190849', say filter='6303927593541070049, 6302480954589190849', like the second example on the documentation page.

    Thread Starter kencooperjr

    (@kencooperjr)

    This – does not seem to work. If I put two album IDs in the filter tag – only the first one will display. If I swap the IDs then I get nothing. If I put the second or first ID by itself in an albumid tag they will display.

    The Add Media –> Photonic –> picasa doc, when one creates the shortcut, says:

    If “Display” is “Albums” and you provide a comma-separated list of values here, only these entities will be pulled. Useful if you want to display thumbnails for certain albums only, ignored if an album id is provided above

    Thanks – Ken

    Plugin Author Sayontan Sinha

    (@sayontan)

    Do you have a URL that I can see?

    Also, I didn’t notice the space after the comma in the filter earlier. Can you remove that and retry?

    Thread Starter kencooperjr

    (@kencooperjr)

    Unfortunately, this is a local development. The next week I will be putting it live so I can send you an URL then.

    Removed the space – no difference.
    If I add more than one AlbumID to the filter tag only the first album ‘cover image’ will show and no other photos are available except that first album.

    Bottom line this does do what I want. If I want to display more than one album I can always do the following and show one album with a line between each album. Not as clean as having three album cover images and then selecting the album to display.

    [gallery type='picasa' user_id='[email protected]' albumid='6302490160689670561'  access='public,protected,private' layout='masonry'  ]
    </hr>
    [gallery type='picasa' user_id='[email protected]' albumid='6303194787069207905'  access='public,protected,private' layout='masonry'  ]
    </hr>
    [gallery type='picasa' user_id='[email protected]' albumid='6302483976009486625'  access='public,protected,private' layout='masonry'  ]
    Plugin Author Sayontan Sinha

    (@sayontan)

    If I add more than one AlbumID to the filter tag only the first album ‘cover image’ will show and no other photos are available except that first album.

    The display of the cover photos is the intended behaviour, but it should show the cover photos for all albums you are listing, as per the example.

    The way this works is, if you are trying to display a group of albums, you will see one thumbnail for each album. If you are trying to display individual albums, you will see all the photos within that album.

    The default behaviour upon clicking on an album’s cover thumbnail is that the plugin will open up a lightbox with the photos in that album. You can change this by going to Photonic → Settings → Generic Options → Overlaid Popup Panel and checking the option Enable Interim Popup for Album Thumbnails. This will show all photos in your album in an overlaid panel when you click on the thumbnail.

    Once you have a live site I can take a look and see what is going wrong. What WP theme are you using? If it is a free WP theme I can try troubleshooting. Can you also provide me with the exact shortcode you have for the filter?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot display Google Album’ is closed to new replies.