improved uploads for images