|
|
|
|
- Properties specific to the description of gglThumbnail variables
gglThumbnail (Type of variable) In french: gglVignette (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 gglThumbnail type represents a thumbnail of a Google Picasa photo. The characteristics of this type of variable are returned by several WLanguage properties. 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 = "scrooge" 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 gglThumbnail variables The following properties can be used to handle a thumbnail of a Google Picasa photo: | | | Name | Type used | Effect |
---|
Height | Integer | Height of thumbnail expressed in pixels. This property is available in read-only. | Image | Image | Image of the thumbnail. This property corresponds to an empty string by default. To retrieve a thumbnail, GglFillPhoto must be used to retrieve the thumbnails of the photo. Then, this photo can be saved (fSaveText) or displayed in an Image control. | Width | Integer | Width of thumbnail expressed in pixels. This property is available in read-only. | URL | Character string | URL used to download the thumbnail. This property is available in read-only. | Remark: These properties can be used with one of the following syntaxes: - <Variable name>..<Property name>
- <Variable name>.<Property name>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|