refoctored canvas upload so that each image gets a unique name based on date