make sure we also delete optimized images