Remove trailing whitespace
Add load_images function
Add resize function