                     item.username = snapshot.value as! String?
                 })
                 
-                self.imageRef.child(dictionary["id"] as! String)
-                             .observe(.value, with: { (snapshot) in
-                                print("SOMETHING \(snapshot.value)")
-//                    item.imagePath = snapshot.value as! String?
-                 })
-                
+                self.getImage(imageID: item.imageID!, item: item)
+
                 self.itemList.append(item)
             }
             self.tableView.reloadData()

//        self.tableView.contentOffset = UIEdgeInsetsMake()
        super.viewDidLoad()
        self.ref            = FIRDatabase.database().reference()
//        let itemImageRef   = FIRStorage.storage().reference()
//                                                  .child("images/")
//                                                  .child("itemImages/")
        self.itemsRef       = ref.child("items")
        self.itemsByHubRef  = ref.child("itemsByHub")
        self.itemsByUserRef = ref.child("itemsByUser")

        
        // Configure the cell...
        cell.itemLabel?.text = item.title
        cell.thumbnailImageView?.image = item.image
//        cell.priceLabel?.text = String(format: "%.2f", item.price!)
        cell.priceLabel?.text = item.price
        cell.userLabel?.text = item.username
