Manipulating images inside post content

Because the old image_send_to_editor function did NOT include the wp-image-xxxxx class with the image ID, we have to make database queries to find the correct ID for a given image.

Making database queries for every image does not seem like a good idea.

The only real solution is to manually delete and re-add the images to the posts.