thumnail pic width and heights improved to handle diff ratio images like country flags