Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamic image in form field rotation

New Here ,
Jan 29, 2025 Jan 29, 2025

Hello, I have a pdf with form fields that popupates dynaic text and an image to create and ID badge. Due to print requirements, the pdf needs to be rotated for the final printing. The text fileds rotate fine but the image does not. Has anyone had any luck correcting this? I have read that Acrobat isn't reading the exif data correctly.

 

Any info would be great. 

RNGeer69_2-1738175314113.pngexpand image

 

TOPICS
PDF
106
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 29, 2025 Jan 29, 2025

Hi there

 

Hope you are doing well, and thanks for reaching out.

 

Acrobat handles text field rotation correctly but not the image, likely due to how it interprets EXIF orientation data. Acrobat does not automatically adjust images based on EXIF metadata, which can cause them to appear unrotated when form fields are rotated.

 

As a workaround, please try rotating the image manually (using a Photo editing tool) before uploading it, and then try inserting it into the image field and see if that works.

 

Let us know how it goes.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 30, 2025 Jan 30, 2025
LATEST

You can use a script to set the rotation property of all the images automatically to a certain value:

 

for (var i=0; i<this.numFields; i++) {
	var fname = this.getNthFieldName(i);
	var f = this.getField(fname);
	if (f==null) continue;
	if (f.type=="button" && f.buttonPosition!=position.textOnly) {
		f.rotation = 90;
	}
}
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines