# Copy Images

**URL:** <https://forums.knack.com/t/copy-images/6664>\
**Category:** API & Custom Code\
**Created:** [August 28, 2019, 5:19am UTC](https://forums.knack.com/t/copy-images/6664 "2019-08-28T05:19:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinCraw46088](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@MartinCraw46088](https://forums.knack.com/u/MartinCraw46088)\
**Post date:** [August 28, 2019, 5:19am UTC](https://forums.knack.com/t/copy-images/6664/1 "2019-08-28T05:19:31Z")

</div>

I have some code that imports a Bill of Material, when doing so I look up in a Master Object and if I find a match, I copy the the the details to the Purchase Requisition.

Everything works, except images.

I am doing the following to store the record in a temp field.

Image = projectData.records[0].field\_483\_raw

and the following as part of the data

field\_771: Image

When the page renders it does not find the image, what is the best way to make this work.

Related question, if I use the Form Rules, it works, is there a way I can see the code generated from a Form Rule, if so how would I do that.

Thanks
