Implementing resize images thing.