This seams to be a problem with the folder structure created by image resizer.
I have forwarded this to Ray, and he is going to look into rethinking the image resizer folder structure for the future. For now, you can delete the gallery/images/general-pages/cache folder to have the cache images recreated, this will remove any unnecessary cached images to remove the problem for now.