Hack for resize images