Expand my Community achievements bar.

SOLVED

Exporting images attached by form-filler (user)

Avatar

Level 1

Sorry if this has been discussed before- I am brand new to form design, and was unable to find this particular question in the forums.

I am trying to create a form, in LiveCycle Designer, that will allow users to attach a photograph (JPEG) to an image field, and then allow me to export the full-size image and save as a JPEG. I am not sure if I need to change something in my form design, or if I am simply missing a step when viewing the response file.

At first I thought that Adobe was compressing the images and I was therefore asking for the impossible, but I can see that the filled-out form, even accounting for the non-image data, has a larger file size than the sum of the original JPEGs. I figure that the image data must therefore be present somewhere in that filled-out form. But how do I retrieve it?

Right now, I can not export images at all. The only way to save the images as seperate files is to take a screen capture of the PDF, but that means the image is only as large as I allow it in the image field. When I click on "Export all images" I only get the logo that I included when I first created the form; I don't get the images that the user (form-filler) has attached.

Two final notes: My image fields do have "embed image data" checked off, and this needs to work for users who only have Adobe Reader.

Any help would be greatly appreciated!

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

The image field allows you to import but not to export. The image data woudl be in a data file but it woudl be base64 encoded so you woudl have to decode it before using it. Perhaps a better approach woudl be to add the images as attachments then you could export them in their native format.

Paul

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member

The image field allows you to import but not to export. The image data woudl be in a data file but it woudl be base64 encoded so you woudl have to decode it before using it. Perhaps a better approach woudl be to add the images as attachments then you could export them in their native format.

Paul

Avatar

Level 1

Great, thanks for the quick response.

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----