Expand my Community achievements bar.

dynamic image

Avatar

Level 1

Hello ,

I use adobe liveCycle version ES4. On a document with articles I want to display the drawing in jpg – format. So that drawing is different for each article.  We use XML with the data . It shows the path to the drawing. How can I display the drawing by article on my document

Path of the picture :

1857627_pastedImage_0.png

Johan Doom

3 Replies

Avatar

Level 10

Hi Johan,

You will have to include the jpg image data in your xml as a base64 encoded string, and then bind an image field to it

You can't pick up a JPG file externally.

Regards

Bruce

Avatar

Level 1

Hi Bruce,

thanks , i test this and it is working with the base64 encoded string in the XML.

But we have more then 2000 image. This mean that I have to convert all these.

Is it possible if I import the pictures into adove livecycle to change Href with java script ?

If yes , how

Regards,

Johan

Avatar

Level 10

Hi Johan,

I'm not sure what you mean, do you want to have lots of images in the form and select one to display?  If so, then you can do that with JavaScript, something like

ImageField1.rawValue = Image1.value.image.value

So, you would end up with 2000 Image fields

Bruce