Small Basic Sample: Flickr Collage
What is Flickr Collage?
With this sample you can use flickr to randomize some online photos on a tag.They will displayed on Graphics Window.
Code
tag = "seattle"
pic = "MyPic"
For i = 1 To 20
x = Math.GetRandomNumber(600) - 300
y = Math.GetRandomNumber(400) - 200
picName = pic + i
'ImageList.LoadImage(picName, Flickr.GetRandomPicture(tag))
picName = ImageList.LoadImage(Flickr.GetRandomPicture(tag))
height = ImageList.GetHeightOfImage(picName)
width = ImageList.GetWidthOfImage(picName)
GraphicsWindow.DrawResizedImage(picName, x, y, width / 2, height / 2)
EndFor
In this sample we got photos tagged "seattle"