Tweaked image upload