Corrected database image path for uploaded images