Implemented a manually capped image collection.
Implemented resize code.