Structure field query self (or 'this')

Is there a way to get a value from same structure field? I’m letting the user select a child page and want them to also be able to select an image from that page. Here’s the blueprint which works, but always grabs the first structure field (nth(1))…

...
    content:
        type: fields
        fields:
            project:
                type: select
                options: query
                query: site.index.filterBy("intendedTemplate", "in", ["project"]).sortBy("title", "asc")
                help: click Save after selecting a project, then select an image below 
            profileimg:
                type: select
                options: query
                query: page.projects.toStructure.nth(1).project.toPage.images
                help: must click Save after selecting a project above, then choose an image

I tried calling a custom route, but still need to pass some value to select the right images.

That won’t work because you don’t have access to a reference of the field, and if you had, it wouldn’t help much, because you would need a listener client side that listens to changes in the field and then updates the options.

you don’t have access to a reference of the field

thanks for the confirmation @moonwalk. As for a client side listener, the workaround is the help attribute that tells them to save the page before proceeding.