|
|
|
|
- Properties specific to the description of gglMediaContent variables
gglMediaContent (Type of variable) In french: gglContenuMé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 gglMediaContent type is used to find out the data of the original image of a photo in a Picasa album. 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 photos found in the first album (the metadata only) GglFillAlbum(Cnt, arrAlbum[1], gglWithImage)
// Display the URL of the files for each photo MyPhoto is gglPhoto FOR EACH MyPhoto OF arrAlbum[1]..Photo  Trace(MyPhoto..Media..MediaContent..URL) END
Remarks Properties specific to the description of gglMediaContent variables The following properties can be used to handle the data about the initial image of a photo found in a Google Picasa album: | | | Name | Type used | Effect |
---|
Height | Integer | Height of photo in pixels. This property is available in read-only. | Width | Integer | Width of photo expressed in pixels. This property is available in read-only. | MIMEType | Character string | MIME type of photo. This property is available in read-only. | URL | Character string | URL used to download the photo. 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|