|
|
|
|
- Properties specific to the description of gglMediaGroup variables
gglMediaGroup (Type of variable) In french: gglGroupeMédia (Type de variable)
Warning
From January 2019, the functions for managing Google Picasa photo albums will no longer be available. Indeed, the corresponding Google API is no longer available from January 2019. It is necessary to use "Google Photo API".. This new API is accessible via AuthIdentify and HTTP requests. See https://developers.google.com/photos/library/guides/overview for more details.
The gglMediaGroup type is used to describe the additional information about a photo or a Google Picasa album. The characteristics of this type of variable can be defined and modified by several WLanguage properties. This type of variable is used by: Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
// Connection to Google Cnt is gglConnection Cnt..Email = "vince@gmail.com" Cnt..Password = "azerty" Cnt..ApplicationName = "MyApp-01" IF GglConnect(Cnt) = False THEN Error(ErrorInfo()) END
// Retrieve the array of available albums arrAlbum is array of gglAlbum arrAlbum = GglListAlbum(Cnt)
// Retrieve the thumbnails from the first album GglFillAlbum(Cnt, arrAlbum[1], gglWithThumbnail)
// Display a thumbnail in an Image control IMG_ImageControl = arrAlbum[1]..Media..Thumbnail[1]..Image
Remarks Properties specific to the description of gglMediaGroup variables The following properties can be used to describe the additional information about a photo or a Google Picasa album: | | | Name | Type used | Effect |
---|
MediaContent | gglMediaContent | Data about the photo. This property is available in read-only. | PhotoCredit | Character string | Credits for the photo or for the Google Picasa album. | Keyword | Character string | Keywords associated with the photo or with the Google Picasa album. These keywords must be separated by commas. For example: "Mountain, Flower". | Thumbnail | Array of gglThumbnail | Thumbnails associated with the photo or with the album. | Remark: These properties can be used via one of the following syntaxes: - <Variable name>..<Property name>
- <Variable name>.<Property name>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|