Do not put placeholders for blacklisted images
Add preference for blacklist placeholders
do some changes to pull request #506. fixes #304.