Support for image sizes in wpt_production::thumbnail()