Added ability to generate thumbnail from current location.