Prevent image overlap to match thumbnail size

WP Thumbnail size is 198px change lib or work class to match that.