These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Where is the center alignment tool for the image field in LifeCycle 8

Bob Casey
Registered: Aug 5 2009
Posts: 22
Answered

I am making a form in LifeCycle Designer 8.0 in which the end user can upload an image via the image field in Adobe Reader.

It appears that the image becomes left justified in the field after it is uploaded... the Sizing is set to "Scale Image Proportionately"

Hopefully I am missing the obvious, or there is a script available that will center the image in the image field.

Your help and insight will be much appreciated.

Thanks
Bob Casey

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
The method is similar to the method you will use for a text field.

Put this JavaScript into the enter event of the image field.
this.para.hAlign = "center";

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

Bob Casey
Registered: Aug 5 2009
Posts: 22
radzmar- Thanks for your help and directing me to LiveCycle Designer ES Scripting Reference

All the best