Added image resize to demopage