printRandomImages - can i print the image data too?

when i call printRandomImages, i get a random image, nice!

how do i get the data on that image, like the title and the album or gallery it's from?

cheers!

Comments

  • `printRandomImages()` simply prints the image. What you want is to use `getRandomImages()` instead, which will return an `_Image` object. From that, you can use the class methods of the returned object to get whatever information you need. (See the Functions Documentation in the User Guide for more detail.) You will have to print the image out yourself this way; however, it really isn't very hard to do using only class methods.
  • thanks! i'll give it a go.
Sign In or Register to comment.