I assume you are storing the images in the filesystem? If so, make sure the directory path is correct in Attachments > Attachment Storage Type. If that path is from someone actually typing the path into the post, then you would need to actually do a query on the post table to change that path to the new one.