Added filter when loading images.