Integrating image upload functionality