---
title: "get link · RUAL Documentation"
description: "Returns the link of a given file which can be used as a img src. Will only work with public files."
canonical: https://docs.rual.nl/block-types/files/file_get_link
language: en
---

# get link

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v10.5.10`](https://docs.rual.nl/core-versions/100510).

Returns the link of a given file which can be used as a img src. Will only work with public files.

- file required `file`

- value `value`

A typical wiring for [get link](https://docs.rual.nl/block-types/files/file_get_link): [rename](https://docs.rual.nl/block-types/files/file_rename) feeds the `file` pin; the `value` out pin feeds [execute in queue](https://docs.rual.nl/block-types/function%20execution/function_custom_execute_from_queue).

![Studio canvas example for the get link block: typical wiring for get link.](https://docs.rual.nl/canvas-examples/file_get_link.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [new object](https://docs.rual.nl/block-types/object/object_new_fields): this block feeds into it. Builds a new object filled with the given fields.

- [set fields](https://docs.rual.nl/block-types/mutations/mutations_set_bp_field_multiple): this block feeds into it. Generates an array of mutations based on the given filled fields.

- [rename](https://docs.rual.nl/block-types/files/file_rename): feeds into this block. Renames the given files.

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [move to public](https://docs.rual.nl/block-types/files/file_move_public): feeds into this block. Moves the given files to a new public destination.

- [resize](https://docs.rual.nl/block-types/files/function_resize_image): feeds into this block. resize given images with new dimensions.

### Version history

Introduced in [`v10.5.10`](https://docs.rual.nl/core-versions/100510).
