Selecting the image from the gallary

Selecting the Image from the gallary
checking the number of images in the gallary is more than 0
then click on the desired image

	if(imageOnGallary.size()==0)
		{
			System.out.println(imageOnGallary.size());
		}
		else
		{
			
			imageOnGallary.get(0).click();
	}