Use a placeholder image if no thumbnail can be created (see #6754)