     func decorateImage(pickupLine:NSString, originalImage: UIImage, atPoint: CGPoint) -> UIImage {
         var textColor: UIColor = UIColor.whiteColor()
         var textFont: UIFont = UIFont(name: "Baskerville", size: 40)!
-        
-        UIGraphicsBeginImageContext(originalImage.size)
+		
+		var resizedImage = imageResize(originalImage)
+        
+        UIGraphicsBeginImageContext(resizedImage.size)
         
         let textFontAttributes = [
             NSFontAttributeName: textFont,
             NSForegroundColorAttributeName: textColor
         ]
         
-        originalImage.drawInRect(CGRectMake(0, 0, originalImage.size.width, originalImage.size.height))
-        var rect: CGRect = CGRectMake(atPoint.x, atPoint.y, originalImage.size.width, originalImage.size.height)
+		var rect: CGRect = CGRectMake(0, 0, resizedImage.size.width, resizedImage.size.height)
+        resizedImage.drawInRect(rect)
         pickupLine.drawInRect(rect, withAttributes: textFontAttributes)
         var newImage: UIImage = UIGraphicsGetImageFromCurrentImageContext()
         UIGraphicsEndImageContext()

        return newImage
    }
	
    
}


    }
    
    func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
        return 320.0
    }

    
