Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Base64?

Avatar

Level 2

Hello,

who would like to explain to me how to set up a database containing images that users can pick and insert into imagefields in our form?

We will have to find a professional to actually do the job, but I would like to know what to ask for.

Thanks, Christiane

0 Replies

Avatar

Level 4

I would be interested in the answer to this also. We had someone ask to be able to insert a graphic from a file into the pdf. I set the pdf up like a template where they could add text for each month's mail out but didn't know how to allow them to insert their own graphics.

Avatar

Level 2

Well, our actual problem is that we don´t want the users to choose their own graphics. We want to provide the choice in the database.

If you want to allow users to use their own graphics, can´t you use a simple image field?

Avatar

Level 4

I never thought of just putting a blank image field on it.  Thanks.

Avatar

Level 4
Level 4

There are a number of ways to achieve this, depending on what your LiveCycle installation looks like.

The simplest would probably be to, on initialize, fetch all images using a web service, and display them left-to-right inside a flowing subform layout. Each image would have an onclick() event which invokes the actual choice function (depending on what you want to happen).

Another approach would be to use a prerender process on the server, injecting the images into the form before its sent to the client.

Good luck!

Avatar

Level 2

Thanks!

Since I haven´t worked with web services yet it sounds complicated to me, but I´m optimistic it might make sense to someone who has.

I´ll let you know when we have solved it.

Until then, Christiane