<p>Of course, just create a new asset source (settings > volumes > new volume) 
then in your image field select 'Restrict uploads to a single folder' in your field and then select the asset source you just created.</p>

<p><a href="https://i.sstatic.net/icjm1.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/icjm1.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2018-06-06T22:37:05.620Z
Basically what you mean is to create a Asset field which source is based on another volume. But what I need is a new Asset field type and its source is another Asset field in the same entry.

Let's say when a user open a entry editing page, he selected three images to field A, Ctrl+s to save. Then he can only select these three images to field B.
yu xia
CC BY-SA 4.0
2018-06-06T13:05:06.747Z
2018-06-06T13:05:06.747Z
Seth Warburton
<p>Now I have a "gallery image" field which allows users to upload multiple images, and some "single-upload image field" in matrix block. </p>

<p>For "single-upload image field", I want to force users to choose images only from the "gallery image" field.</p>

<p>To do that, I want to create a custom asset source called "gallery image". So with this source selected, I can limit the source of "single-upload image field".</p>

<p>Any idea to achieve this? Thanks!</p>

<assets><sources><assets-field>
How can I create a new asset source?
# How can I create a new asset source?

(Asked by: username_0 on 2018-05-30)

Now I have a "gallery image" field which allows users to upload multiple images, and some "single-upload image field" in matrix block.

For "single-upload image field", I want to force users to choose images only from the "gallery image" field.

To do that, I want to create a custom asset source called "gallery image". So with this source selected, I can limit the source of "single-upload image field".

Any idea to achieve this? Thanks!

**Tags:** assets, sources, assets-field

---

## 1 answers

### Answer by username_1 on 2018-06-06. Score: 1

Of course, just create a new asset source (settings > volumes > new volume)
then in your image field select 'Restrict uploads to a single folder' in your field and then select the asset source you just created.

[![enter image description here](https://i.sstatic.net/icjm1.png)](https://i.sstatic.net/icjm1.png)

> **Comments:**
> **username_0**: Basically what you mean is to create a Asset field which source is based on another volume. But what I need is a new Asset field type and its source is another Asset field in the same entry.  Let's say when a user open a entry editing page, he selected three images to field A, Ctrl+s to save. Then he can only select these three images to field B.  

---

