<span class="span3 config_camera_wrapper img-rounded" style="border: 2px solid #fff;" align="center">
<img class="img-rounded" src="images/bookappt_v3/logo-placeholder.png" alt="140x140">
<i class="config_camera img-circle icon-camera icon-2x" onclick="$('#cropImageInput').trigger('click');"></i>.
Above is the code for upload image. Check the link to see the how the image upload option looks http://dropmocks.com/mEbKUV.
I tried the below code to upload image.
WebElement upload = driver.findElement(By.xpath(".//*[@id='profile_configure_company_details']/div/div[2]/div/ul/li[3]/span[2]/i"));
upload.sendKeys("/Users/sathiyarengarajan/Desktop/images(1).jpeg");
driver.findElement(By.xpath(".//*[@id='cropandsave']")).click();
But it doesnot works.