Abstract image upload from data upload