added check to preparePreviousImages, so it doesn't create a placeholder inside a placeholder
Merge pull request #102 from flamerohr/placeholder-fix

added check to preparePreviousImages