# Whats different Select asset or image

**URL:** <https://discourse.getcockpit.com/t/whats-different-select-asset-or-image/2299>\
**Category:** Uncategorized\
**Created:** [March 7, 2022, 2:38pm UTC](https://discourse.getcockpit.com/t/whats-different-select-asset-or-image/2299 "2022-03-07T14:38:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rolf](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@Rolf](https://discourse.getcockpit.com/u/Rolf)\
**Post date:** [March 7, 2022, 2:38pm UTC](https://discourse.getcockpit.com/t/whats-different-select-asset-or-image/2299/1 "2022-03-07T14:38:00Z")

</div>

I am not understand the different works when select an asset or image.  
i have very great problem whit inconsistent data in cockpit. : (

![Bildschirmfoto 2022-03-07 um 15.35.27](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/2X/3/3499a7769c3a07bbf43f74e8baa53a19cc337619.png)

---

<div class="post-metadata">

**Author:** ![Rolf](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@Rolf](https://discourse.getcockpit.com/u/Rolf)\
**Post date:** [March 8, 2022, 6:45pm UTC](https://discourse.getcockpit.com/t/whats-different-select-asset-or-image/2299/2 "2022-03-08T18:45:56Z")

</div>

I have been able to isolate the first error in cocpit.  
in the file **coponents.js** at **riot.tag2(‘field-image’** in the function **this.$updateValue = function(value, field, force)**  
the meta data in value is not passed, as is done somewhat in riot.tag2(‘field-asset’.

So for now the main error is the missing meta data.

I have also already checked if in the **images/assets** this data is  
are captured. When uploading images, the metadata seems to be created correctly.

Unfortunately, I am not quite fin ind Javascript and riot and struggle laboriously through the code.

Translated with [www.DeepL.com/Translator](http://www.DeepL.com/Translator) (free version)
