cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse assets without creating a copy

Aagaard
Visitor

Hello

I have a lot of assets, both images and texts, that I need to use across multiple projects. Is it possible to link to the assets without creating a local copy in the project?

When I add an image in the designer it copies from the original location to the project assets\images folder. Can I not just set a relative link from the project folder to the folder that holds the assets?

 

Thank you in advance.

4 REPLIES 4
mƎALLEm
ST Employee

Hello @Aagaard and welcome to the ST community,

In the TouchGFX designer, simply browse to the folder where the images are located in your local disc:

1- Select the image option

2- Click on "Project"

3- Click on "+" behind "images". You will prompted to the explorer.

mALLEm_0-1750855610572.png

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

I know how to add images to the project. This creates a local copy, just like going into images and importing.
I want to add a path to the image without generating the local copy.

Ozone
Principal

If I remember correctly, there are general Eclipse methods to achieve such shared ("linked") resources.

Although this has always been one of the most awkward and anti-intuitive topics with Eclipse ...

LouisB
ST Employee

Hello @Aagaard,

There's way to do it out of the box, you can also do some versioning git.

 

Br, 

Louis BOUDO
ST Software Developer | TouchGFX