Fix for image url issue with uploaded images