replaces images with a tmp transparent one