attempt # 12 trying to resize images