vic0777
(vic)
May 13, 2024, 7:13pm
1
Hello, good afternoon everyone. I would like you to help me with the following: I want the user to be able to select a photo from their gallery, and have it fit the workspace. Then, in the following scenes, I want the image to continue. I am uploading my file so you can see roughly what I want to achieve.
revista.zip (1.4 MB)
MaxZieb
(Loves Hype)
May 14, 2024, 1:17am
2
Check this out, might help:
Please check this file. As I got some stuff in my pipeline… that is all I can do for you now concerning support on this topic. I’ll probably clean the code and make it an extension soon. Feel free to support the Hype Cookbook project if you can/want/like!
FileReplaceSelectorWithDeleteMulti.hype.zip (91,9 KB)
1 Like
MarkHunte
(Mark Hunte)
May 15, 2024, 5:31pm
3
You can also load the image from the input (using FileReader()) and load it into a Rect inside persistent symbol.
I have an example some where on the forum?.
But here it is added to your project.
The file input is hidden from view, and underlaid with the elements that give it a nice look
The rect in the Symbol is loaded with the image. And the symbol is displayed on all scenes.
revista 3.zip (1.3 MB)
2 Likes
vic0777
(vic)
May 16, 2024, 5:08pm
4
You're welcome! I'm glad to be of help. There's always something new to learn every day.