Temporary image attachements

Hi,

I’m trying to achieve the same funcionality as Shopify does in their
product
administration. That is ‘adding a new product’ and having the choice of
adding images before saving or even the product exists.

Any suggestions of how this would be accomplished the best way?