Fixed uploading image without thumbnail

When uploaded image cannot be thumbnailed (e.g. it is not an image), default template failes because `thumbnail_url` is not defined.