make sure we also delete optimized images
Merge pull request #1058 from ZogStriP/delete-optimized-images-when-cleaning-up-orphans

make sure we also delete optimized images