Hi All.
Sorry for this question however I just seems not to do it correctly.
It is the first time I make a component which has a jpeg image and in my PC is all looking ok,
when I export the component and some one else open the component the image is missing
Ysetrday I asked Martin to look at the component in his system (with me it all looks ok) but with
Martin the image is not included in the export
What is the correct way to do this ?
my component
with settings I added from the menu add image
when exported
[attachment=0]
Component Export with jpeg issue
- p.erasmus
- Posts: 434
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: Component Export with jpeg issue
When you export a component or deploy an App Developer project, the 'filename' property of the image needs to exactly match the reference for the image in the right-hand column of the 'resources' tab. Also, the file needs to be available when the component is created or the App is deployed.
Sometimes the 'filename' property might be a relative path and the reference in 'resources' might be an absolute path (or vice versa). In this case, the resource will not be added correctly to the component/App when it is created/deployed. Make sure both references are either relative or absolute.
Sometimes the 'filename' property might be a relative path and the reference in 'resources' might be an absolute path (or vice versa). In this case, the resource will not be added correctly to the component/App when it is created/deployed. Make sure both references are either relative or absolute.
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: Component Export with jpeg issue
Hi Steve
Thank you for the advise ,
I was born BC
(before computers) so this is not so clear to me what to do but will dig into it if I do not mange I will ask again for help

Thank you for the advise ,
I was born BC



Regards Peter - QME Electronics
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: Component Export with jpeg issue
Hi Peter,
An absolute path will start with the drive letter (e.g. "C:\my_folder\my_image.png") and a relative path will start with one or two dots (e.g. "..\..\my_folder\my_file.png" or ".\project_resources\my_file.png").
I'd suggest making sure both references are absolute.
If you're still having problems, please post your project and the image and I'll investigate.
An absolute path will start with the drive letter (e.g. "C:\my_folder\my_image.png") and a relative path will start with one or two dots (e.g. "..\..\my_folder\my_file.png" or ".\project_resources\my_file.png").
I'd suggest making sure both references are absolute.
If you're still having problems, please post your project and the image and I'll investigate.