Could Ansel use the native File Upload conflict handling?
I’ve noticed that if you drag an image to an Ansel field that already exists on the server, Ansel will upload it anyways and rename it with a hash:
I know that this is a design choice, not a bug. And I can appreciate that it is slicker to not interrupt the uploading of multiple images for a name conflict. But I worry that my content editors are going to start cluttering up the image source directory with a ton of identical images, which will be: wasteful of hosting space, confusing when browsing the directory for an existing image, and difficult to clean up if three versions of the same image are used in three different entries.
Would it be possible to adopt the native File Upload conflict handling (or something similar)? EE now allows you to select from:
- Append numeral to newer file:
- Rename newer file
- Replace older file with the newer file
I guess there’s an implicit fourth option as well: Cancel Upload.
Again, I understand how this could make the interface less slick. But it seems to me that it would be helpful to alert the user that the image might already exist on the server rather than silently cluttering the file directory in the background.
As you suspected, I’m not keen on implementing this because I have always found users hate being interrupted with conflict resolution options or even just having to make a choice.
From a technical standpoint, I’d have to refactor a few things because conflict resolution does not happen until post as it stands right now.
I’d also have to implement some sort of UI for displaying conflicts and presenting options that is still congruous with the drag and drop upload experience. It’s a little easier for EE to do this because it’s already a modal, one at a time experience.
This is not to say I would never implement something. I’ll keep it in mind. But I don’t expect to implement this soon if I do implement it.
March 20, 2017, 4:11 pm
Thanks for the reply, TJ. That’s kind of what I thought your take would be. And as I said, I understand the choice.
March 20, 2017, 8:50 pm
Your account with the old support system does not carry over to the new support system. The new system is all tied together and connected with your account for purchasing and licenses. If you have a license, you have an account and you can log in with that email address and password. If you have not set a new password yet, you can do so with the forgot password link. Very sorry for any inconvenience.