Only trigger thumbnail capture if we dont have a provider image.
Restore original code styling and move logic into refreshThumbnail.