Added callback function on image upload success