The photo was taken on January 9 at Ocean Shores, on NSW's far north cost, at the same time as Mr Wells was flying overhead from Brisbane to Sydney to visit family and friends, the Northern Star reports.
Mr Wells, 62, died from a heart attack only a few days later on January 24.
Mr Wells, who lived in Brisbane, never saw the photo, which was taken by a former editor of the Northern Star, Russell Eldridge, and published in the paper on January 11.
It was only after Mr Wells passed away that a friend of his son saw the photo on the internet.
The family used the cloud photo in a leaflet handed out to people at his funeral.