* adjust code for setImgSize.
 * adjust style for search.