--- title: "Capture the URL of an image or file" slug: "capture-the-url-of-an-image" description: "Mozenda automates capturing URLs of an image and visible text-like data. Learn below in a few easy steps." tags: ["link", "photo", "picture", "address"] updated: 2026-05-21T20:52:57Z published: 2026-05-21T20:52:57Z canonical: "help.mozenda.com/capture-the-url-of-an-image" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Capture the URL of an image or file There are two ways to capture the URL (location) of an image or a series of images: #### Method 1 In the Agent Builder: 1. Enter a URL. 2. Select the appropriate image. 3. Select **Capture this Image’s URL**. 4. Enter a name for the field. 5. a) Select **SAVE AND REFINE** to create a new capture action. b) Right-click the existing capture action, then select Refine Captured Text to modify it. 6. Select **HTML** to capture HTML instead of the visible text. ![imgurl1](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/imgurl1.PNG) 1. Go to **Capture Definitions** section. 2. Place your cursor *before* the first percent sign **%** and type `src="` . 3. Place your cursor *after* the last percent sign **%** and type `"`. ![imgurl2](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/imgurl2.PNG) The URL displays in the **Captured Text Preview** field. 1. Select **SAVE**. ![image.png](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/image%2861%29.png) #### Method 2 In the Agent Builder: 1. Enter a URL. 2. Select the appropriate image. 3. Select **Capture this Image’s URL**. 4. Enter a name for the field. 5. a) Select **SAVE AND REFINE** to create a new action. b) Right-click an existing capture action and select **Properties** to modify it. ![url3](https://cdn.document360.io/03076343-9561-4857-8a4e-9f3bfed20ced/Images/Documentation/url3.PNG) 1. Go to Node property > **Select **. 2. Select `src="` . 3. Select **OK**. 4. Select **SAVE**.