Update Flickr Access with temporary file using LDNetwork.Download(..)
Program Import: TLC839

LD extension is necessary because Network.download () does not work.
Only one empty file is created.
Too bad that the desktop version is not maintained.
tmpFile = File.GetTemporaryFilePath()
imageURL = Flickr.GetRandomPicture("Diamonds")
'tmpFile = Network.DownloadFile(imageURL)
LDNetwork.DownloadFile(tmpFile,imageURL)
'TextWindow.WriteLine("tmpfile:"+tmpFile)
bg = ImageList.LoadImage(tmpFile)
File.DeleteFile(tmpFile)
'bg = ImageList.LoadImage(Flickr.GetRandomPicture("Diamond"))
GraphicsWindow.DrawResizedImage(bg,0,0,GraphicsWindow.Width,GraphicsWindow.Height)