did you check on the server that the file is physically there? the image path has been recorded in the database but it the file has been removed after, you will have a 404.
It's a 404 on frontend, but can you see the image in the admin panel ?
If so, try to flush the cache image from the admin.
system > cache management