Displaying thumb image in the main thread