Support

Support is part of Event Gallery Extended.

Please get a subscription if you need support. Feel free to use the ticket system or the contact form for reporting defects or pre-sale questions. Make sure you're logged in in order to be able to create a new ticket.

For general information you can also jump to the manual.

Subscribe now!

#3652 Can't get my own filenames and captions to appear in events derived from Google Photos

Posted in ‘Event Gallery Extended’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sbluege on Tuesday, 03 September 2019 17:43 UTC

wilbur
 Hi Sven,

When I upload my photo albums to Google Photos, each of the photos therein have self-defined captions and filenames. I have confirmed that these data survive being uploaded to Google photos, because when I download them the captions and filenames remain intact when I download them from Google Photos.

How can I get these filenames and captions to appear in my Event Gallery events? When I select caption or title options in Event Gallery, what appears is a cryptic caption or filename which has no meaning relative to the individual photo.

sbluege
Hi,

this is the API description for a MediaItem in the Google Photos API: https://developers.google.com/photos/library/reference/rest/v1/mediaItems#MediaItem

There is a description field. If this field contains data, Event Gallery will use it as the caption of an image.

Now the interesting question is, what Google returns as description of your images. You figure out by checking the files in /cache/com_eventgallery_googlephotos. Just search for "description" in those files. What do you see?

wilbur
Thanks for the response.

I'm looking at the contents of the folder public_html/cache/com_eventgallery_googlephotos and I see numerous files of type "json" and of type "obj". I have opened a few of the json files, but none of them seem to have a "description" field.

I'm attaching one of the files for your perusal.

Can't seem to attach anything but images.

wilbur
For whatever reason, the file wouldn't upload. Let me try again after I changed filetype to TXT.

Upload failed as TXT

sbluege
please send the file to info@svenbluege.de
You can't upload zip files here :)

sbluege
I checked your file and it does not contain the description field. That mean, that Event Gallery can't show anything useful here :(

wilbur
Have you seen such records with a description field. Perhaps I might create my own if I knew a syntactically correct manner to enter it. I'm going to play with that possibility.

sbluege
Please let me know about your findings.

If you change something in Google Photos, please clear the Google Photos cache in Event Gallery. Otherwise, you would need to wait up to 24h to see your changes.

wilbur
I was intending only to edit the files in the cache. Will that not work?

sbluege
No, this will not work. Those files get reloaded from Google every day. The cache is just to speed up things a bit and prevent asking Google all the time.

wilbur
Thanks anyway.

sbluege
I did a quick check. If you manage the description in Google Photos, Event Gallery will show it after the next sync or after you deleted the cache.

Attachments

03-09-_2019_19-41-44.png