         lastPictureObjectTaken.image = lastPhotoTaken
         lastPictureObjectTaken.displayName = lastPhotoTakenCaption
         lastPictureObjectTaken.ownerName = FacebookDataManager.SharedInstance.fbUserDisplayName
+        lastPictureObjectTaken.width = lastPhotoTakenWidth
+        lastPictureObjectTaken.height = lastPhotoTakenHeight
         
         
     }

        let takenImage = info[UIImagePickerControllerOriginalImage] as! UIImage
        print("original image width: \(takenImage.size.width) height: \(takenImage.size.height)")
        self.lastPhotoTaken = UIImage.resizeImage(takenImage, newWidth: 520)
        print("resized image width: \(self.lastPhotoTaken.size.width) height: \(self.lastPhotoTaken.size.height)")
        self.confirmationView.photoImageView.image = self.lastPhotoTaken


    
    var lastPhotoTakenCaption: String!
    
    var lastPhotoTakenWidth : CGFloat!
    
    var lastPhotoTakenHeight : CGFloat!
    
    var lastPictureObjectTaken : Picture!
    

    
    
    func showImagePickerActionSheet(presentingVC: TabBarViewController!) {
