Integrating image upload functionality with util