// -- PHOTO UPLOAD --------------------------------------------------------------- add_action( 'wp_ajax_rarity_upload_photo', function() { if ( ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ?? '' ) ), 'rarity-save-nonce' ) ) { wp_send_json_error( 'Security check failed.' ); } if ( ! is_user_logged_in() ) { wp_send_json_error( 'Not logged in.' ); } $b64 = sanitize_text_field( wp_unslash( $_POST['image_data'] ?? '' ) ); $mime = sanitize_text_field( wp_unslash( $_POST['mime_type'] ?? '' ) ); $allowed = array( 'image/jpeg', 'image/png', 'image/gif', 'image/webp' ); if ( ! in_array( $mime, $allowed, true ) ) { wp_send_json_error( 'Invalid file type.' ); } $decoded = base64_decode( $b64, true ); if ( false === $decoded || strlen( $decoded ) < 10 ) { wp_send_json_error( 'Invalid image data.' ); } if ( strlen( $decoded ) > 5242880 ) { wp_send_json_error( 'Image exceeds 5 MB limit.' ); } $ext_map = array( 'image/jpeg' => 'jpg', 'image/png' => 'png', 'image/gif' => 'gif', 'image/webp' => 'webp' ); $ext = $ext_map[ $mime ]; $uid = get_current_user_id(); $filename = 'rarity-avatar-' . $uid . '-' . time() . '.' . $ext; $upload = wp_upload_dir(); $path = $upload['path'] . '/' . $filename; $url = $upload['url'] . '/' . $filename; global $wp_filesystem; if ( empty( $wp_filesystem ) ) { require_once ABSPATH . 'wp-admin/includes/file.php'; WP_Filesystem(); } if ( ! $wp_filesystem->put_contents( $path, $decoded, FS_CHMOD_FILE ) ) { wp_send_json_error( 'Could not save file.' ); } update_user_meta( $uid, 'rarity_photo_url', esc_url_raw( $url ) ); wp_send_json_success( array( 'url' => $url ) ); } ); Legacy Capital - Rarity
07

Legacy Capital

The lasting mark your life makes on the world.

What Is Legacy Capital?

Legacy Capital measures the intentionality and impact of the contribution you are making, or building toward, beyond your own lifetime. It encompasses your sense of purpose, the causes you champion, the communities you serve, the values you model, and the tangible and intangible things you are creating that will outlast you. It asks: what will remain when you are gone?

In the Rarity framework, Legacy Capital does not require fame or fortune. A woman can build profound legacy through how she raises her children, how she shows up for her community, the knowledge she passes on, the doors she holds open, or the values she lives so boldly that they reshape everyone around her.

What It Looks Like in Practice

  • Living with a clear sense of purpose that extends beyond personal success
  • Giving your time, resources, or expertise in service of something larger than yourself
  • Mentoring or sponsoring the next generation of women and leaders
  • Building a business, institution, or body of work with lasting impact
  • Documenting your story, wisdom, or heritage for those who come after you
  • Championing a cause or mission that reflects your deepest values
  • Modeling courage, integrity, and excellence in ways that shape those around you

Why It Matters

Legacy Capital is the dimension that gives everything else meaning. When your life is oriented around contribution, something shifts. Your daily choices feel more significant. Your setbacks become part of a larger story. Your achievements become generous acts rather than private trophies.

A woman who is building Legacy Capital is not waiting until she has arrived to start contributing. She understands that legacy is not a destination. It is a practice, and it begins with how she shows up today.

Discover Your Rarity Score