The best way to handle customer image uploads I'm working on an Online Shop for Canvas Prints. Customers can upload their Images. But I have no idea to handle the images.
After the Upload should i move the Images in an directory named with the session Id. I can't use the user ID, because you don't have to login before upload.
Has somebody an idea?
To be able to pull up their images meaning them not you, you're going to have to associate something with them, so why not a login.
Assign them a unique ID, or use their email I'd say practice around with a couple of techniques prior to using for real.
They're not really a customer unless you can associate them as such. Otherwise it would be a totally Anonymous user.
I think for the shopping experience it is better, that a customer only have to login if he really to order.
The main problem with an temporary uplod directory for me is to decide, what time i can delete the images.
At the moment i have the following idea:
upload the images in a temporary directory
the user can edit, crop, rotate and filter images
the user can put these images in the cart (move images to another directory?)
the user has to register or login
the user can order
delete unnecessary temporary images
delete ordered images after a while.
so i have:
temporary uploaded images
the original ordered images
the edited ordered images
do i think to complicated?
Please sign in or create an account to participate in this conversation.