image upload to pool functionality added