PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Properties specific to the description of gglThumbnail variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
Note: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// 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:
NameType usedEffect
HeightIntegerHeight of thumbnail expressed in pixels.
This property is available in read-only.
ImageImageImage 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.
WidthIntegerWidth of thumbnail expressed in pixels.
This property is available in read-only.
URLCharacter stringURL used to download the thumbnail.
This property is available in read-only.

Note: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment