make sure we account for no thumbnail in document view

in the thumbnail rendering field, make sure we check if thumbnail exists
before we try to extract the thumbnail url