# Add image ar Report from button

**URL:** <https://forum.inductiveautomation.com/t/add-image-ar-report-from-button/52371>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [October 26, 2021, 10:15pm UTC](https://forum.inductiveautomation.com/t/add-image-ar-report-from-button/52371 "2021-10-26T22:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan.romero\_peralta](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@juan.romero\_peralta](https://forum.inductiveautomation.com/u/juan.romero_peralta)\
**Post date:** [October 26, 2021, 10:15pm UTC](https://forum.inductiveautomation.com/t/add-image-ar-report-from-button/52371/1 "2021-10-26T22:15:11Z")

</div>

I am working with: reportBytes = system.report.executeReport (path = “Reporte\_Alarma”, project = “SATTR”, parameters = overrides, fileType = “pdf”)  
In the parameters I want to add an address of an image (.jpg or .png) and have it displayed in the report.  
In the report add the parameter " direccionfoto " (attached picture\_report\_00.png) and in the image add it in the key (picture\_report\_01.PNG).  
When executing the system.report.executeReport, all the parameters appear, but not the image.  
overrides = {“report\_name”:titulo,  
“CT\_Name”: name,  
“TG\_Name”:tg,  
“TG\_Tipo”:tipo,  
“issue\_des”:desc,  
“recomendation”:rec,  
“autor\_name”: user\_name,  
“autor\_mail”: email,  
“direccionfoto”:file\_path}

In file\_path try different parameters (Examples: “C: \ Users \ z003wa7r \ Desktop \ download.jpg”, “C: /Users/z003wa7r/Desktop/download.jpg”) and none works.  
Could you help me and tell me where I’m wrong? Thank you.

 ![picture_report_00](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/058a6d1d6f0f02d53684e706f2b3840bfcda1af9.png)  
 ![picture_report_01](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/8/c8a76e94d3875b171319741cb61edea1cdcba73c.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 26, 2021, 11:07pm UTC](https://forum.inductiveautomation.com/t/add-image-ar-report-from-button/52371/2 "2021-10-26T23:07:49Z")

</div>

The report is generated by the gateway. The path you supply has to be reachable by the gateway.
