<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Vault`](Vault) › [`getResourcePath`](Vault/getResourcePath)
## Vault.getResourcePath() method
Returns a URI for the browser engine to use, for example to embed an image.
0.9.7
**Signature:**
```typescript
getResourcePath(file: TFile): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>file</code> | [`TFile`](TFile) | |
**Returns:**
`string`