cancel
Showing results for 
Search instead for 
Did you mean: 

Image not saved in PDF form

Former Member
0 Kudos

I've an Image Field, where user is required to choose an image.

I deployed and ran the project. When I click over the blank image field - "Select Image File" dialog box appears. I selected an image and it shows up on the form.

I saved the form, but when I opened it back, there was no image :-(.

I've tried binding the Image Field to Context attribute of type "binary". But that did not help either.

How can I save the image chosen by the user?

Thank you,

Vimukta

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos

Hi Vimukta,

After the user selects the image, save the URL in the back end table, so that every time the form is loaded the URL is taken from the back end table.

Also bind the image field attribute in the PDF Form to the type of the model node attribute which saves the URL.

Hope this helps u.

Regards,

Poojith M V

Former Member
0 Kudos

Thanks Poojith.

Your suggestion put me on the right track.

I created a context attribute of type string (for the URL) and tied it to the Imagefield.

Initially there is a dummy image. When user uploads his image, that image gets saved .

Awarded you the points.

Thanks for your help.

Regards,

Vimukta

former_member214651
Active Contributor
0 Kudos

Hi Vimukta,

Thanks a lot!!!!!!!!!!!!!!!!!!!!!!

Answers (0)