Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Attach and view images and files in the browser

Questions related to using nuBuilder Forte.
Post Reply
hiramalik
Posts: 20
Joined: Wed Jul 15, 2020 12:34 pm

Attach and view images and files in the browser

Unread post by hiramalik »

Hi,
I have tried to use attach file control to add images for each record in the form. I want to store contact information for different people and want to display their image along with their respective records.
I want to display images right after they are uploaded. But it seems like those images vanish after I save the record. I have tried to follow the steps mentioned in another topic but since I am new to the system and still learning the basics it seems like a bit tricky. Can anyone please guide me through the process.
Kind Regards
Hira
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Attach and view images and files in the browser

Unread post by kev1n »

Hi,

What topic are you referring to?
nac
Posts: 115
Joined: Tue Dec 12, 2017 11:28 pm
Location: Aberdeen, UK
Has thanked: 9 times
Been thanked: 12 times

Re: Attach and view images and files in the browser

Unread post by nac »

Hello Hira,

One possible approach is to use a WYSIWYG object. The Tiny MCE editor let's you paste a picture from the clipboard. Here is an example I just did using the snipping tool.
WYSIWYG_picture.png
Using the editor also let's you add some annotation to the photograph, if you wish.

I hope this helps.

Neil
You do not have the required permissions to view the files attached to this post.
hiramalik
Posts: 20
Joined: Wed Jul 15, 2020 12:34 pm

Re: Attach and view images and files in the browser

Unread post by hiramalik »

kev1n wrote: Sun Feb 19, 2023 6:28 pm Hi,

What topic are you referring to?
Hi Kev1n I just want to attach images using a button to a record of edit form.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Attach and view images and files in the browser

Unread post by kev1n »

hiramalik wrote: Sun Feb 19, 2023 5:48 pm I want to display images right after they are uploaded. But it seems like those images vanish after I save the record. I have tried to follow the steps mentioned in another topic
What topic are we talking about and what does your code look like?

It's not quite clear what you're trying to do with the form you're working on. Could you provide more information about the form's structure and any controls you're using? It would also be helpful if you could include some screenshots or annotations to give us a better idea of what you're working with. This will help us understand your question and provide more specific assistance. Thanks!
hiramalik
Posts: 20
Joined: Wed Jul 15, 2020 12:34 pm

Re: Attach and view images and files in the browser

Unread post by hiramalik »

kev1n wrote: Tue Feb 21, 2023 6:58 pm
hiramalik wrote: Sun Feb 19, 2023 5:48 pm I want to display images right after they are uploaded. But it seems like those images vanish after I save the record. I have tried to follow the steps mentioned in another topic
What topic are we talking about and what does your code look like?

It's not quite clear what you're trying to do with the form you're working on. Could you provide more information about the form's structure and any controls you're using? It would also be helpful if you could include some screenshots or annotations to give us a better idea of what you're working with. This will help us understand your question and provide more specific assistance. Thanks!
Let me try to explain my issue a bit. For example attached images shows an edit form containing information of a person. I want to display and attach his photograph and scanned copies of his documents to the record. When I try to do this using advance control of attach a file it doesn't seem to work.
Thanks and Kind Regards
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Attach and view images and files in the browser

Unread post by kev1n »

To better assist you, can you please provide more details about how you are uploading your files (Uppy or upload to DB)?
This will help us provide more specific guidance and troubleshooting steps.

Additionally, if you are experiencing any errors during the upload process, please let us know what those errors are and at what point in the process they occur.
hiramalik
Posts: 20
Joined: Wed Jul 15, 2020 12:34 pm

Re: Attach and view images and files in the browser

Unread post by hiramalik »

kev1n wrote: Tue Feb 21, 2023 10:14 pm To better assist you, can you please provide more details about how you are uploading your files (Uppy or upload to DB)?
This will help us provide more specific guidance and troubleshooting steps.

Additionally, if you are experiencing any errors during the upload process, please let us know what those errors are and at what point in the process they occur.
I am just using attach file from advance objects to upload the file.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Attach and view images and files in the browser

Unread post by kev1n »

What does your code look like, are there any errors, what exactly doesn't work?


Without more specific details, it is difficul to pinpoint the exact cause of a problem. There are often many different possibilities and variables to consider, which can make it challenging to determine the root cause of an issue.

Therefore, it is important to provide as much information as possible when seeking help or support, such as describing the symptoms, the context in which the problem occurred, any error messages or codes, and any steps you have already taken to try to resolve the issue.

With more specific information, it becomes easier for others to offer suggestions or solutions to help address the problem.
Post Reply