writing page photo resize