<p>You can add any number of fields to your asset sources (just like you can for 'user groups', 'category groups', 'tag groups', or 'entry types'). Under 'settings > assets > sources', click a source (or create new); then click the 'field layout' tab and add your field (field needs to be created first); and save. For a url you would likely just use a textfield.</p>

<p>In your template you would access it with something like this:</p>

<pre><code>{{ entry.myAssetsFieldHandle.first().myLinkUrlFieldHandle }}
</code></pre>

CC BY-SA 3.0
2015-04-10T15:19:46.913Z
Thank you.  I totally missed the fact that you can set fields on Asset types. This makes it very flexible.
Eric Chantigny
CC BY-SA 3.0
2015-04-10T14:46:50.617Z
2015-04-10T14:52:07.750Z
2015-04-10T14:52:07.750Z
Douglas McDonald
<p>I am testing Craft to see if it would be a good fit for sites I build.  At this point, I do feel it is great and might fit most of the work I do.  The only thing I can't figure out is how I could add a url to images to build a logo gallery (ie: list of logos that link to the partners websites).</p>

<p>Is there a way to do this by default?  I can't find any information on it.</p>

CC BY-SA 3.0
2015-04-10T14:43:54.960Z
Hey Eric - Are the images listed in an entry field somewhere?
Aaron Berkowitz
<assets><url>
Is there a way to add a url(not to the file itself) to assets?
# Is there a way to add a url(not to the file itself) to assets?

(Asked by: username_0 on 2015-04-10)

I am testing Craft to see if it would be a good fit for sites I build. At this point, I do feel it is great and might fit most of the work I do. The only thing I can't figure out is how I could add a url to images to build a logo gallery (ie: list of logos that link to the partners websites).

Is there a way to do this by default? I can't find any information on it.

**Tags:** assets, url

> **Comments:**
> **username_1**: Hey Eric - Are the images listed in an entry field somewhere?  

---

## 1 answers

### Answer by username_2 on 2015-04-10. Score: 4 | Accepted answer

You can add any number of fields to your asset sources (just like you can for 'user groups', 'category groups', 'tag groups', or 'entry types'). Under 'settings > assets > sources', click a source (or create new); then click the 'field layout' tab and add your field (field needs to be created first); and save. For a url you would likely just use a textfield.
In your template you would access it with something like this:
{{ entry.myAssetsFieldHandle.first().myLinkUrlFieldHandle }}

> **Comments:**
> **username_0**: Thank you.  I totally missed the fact that you can set fields on Asset types. This makes it very flexible.  

---

