cleaned up image size variable a bit.