render.article: Break down the createThumbnail method

Bug: 61267
Change-Id: Id17bc6d19f044d6a4837eebb6b1a264ee104ea84