I have a simple script for eCommerce website that uploads images for products.
<input type="file" name="pictures[]" multiple="multiple" />
Everything works absolutely fine, and multiple images are uploaded at once.
However, there's one major problem. Script (or Win10 I am using) doesn't not remember which image I clicked first. It doesn't 'remember' the order. For internet stores it's extremely important to keep main image main - so main image should be a specific image out of the set of these images.
What's the solution to this?