Fix for github issue #200. Hides images instead of removing them.