JedWatson/keystone — pull request #459 by JohnnyEstilles (2014-07-10 01:25:09+00:00)
Title: adding cloudinary image replace on upload option

As per JW's suggestion, I made the CloudinaryImage "replace on upload" feature a field level option.

Setting `uploadReplace` to `true` removes an existing image (if one exists). Setting the option to `false` (or not setting it at all) results in the default behavior.

List.add({
...
photo: { type: Types.CloudinaryImage, uploadReplace: true },
...
}