@KnowYourselves wrote:
Hello!
I have the following problem:
I’m doing an app were the users must select a zip file that the app will parse. I unzip the content (images) into the data directory and then move them to the files directory.
My problem is that when I try to show these images in the view I just cant, I’ve searched the forum but no solution seems to work for me.
Here is how I’m saving the path after I moved the images:
this.path = (this.file.dataDirectory + 'files/' + this.name);
Then to show them in the view I’m doing:
<img [src]=path>
I’ve checked and the images are indeed in the correct directory after moving them and the name is correct too.
Any Ideas?Thanks!
Posts: 1
Participants: 1