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

When uploading a picture it keeps turning sideways. How do I keep it standing up?

Community Beginner ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

Everytime colleagues (who didn't make the PDF) want to insert a picture, it changes sideways.

I made a button using JavaScript:

event.target.buttonImportIcon();

They need to use pictures received by email.

What can I change in the settings (or what do I tell my colleagues) to make the pictures stand up straight?

Thank you!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.2K

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Beginner , Jan 03, 2019 Jan 03, 2019

Thanks, this will work already!

Is it possible to rotate this automatically though? If the picture itself changes...

Votes

Translate

Translate
LEGEND ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

The page was rotated at some time in its creation. You may have to remake it e.g. copy paste to a new unrotated page.

Votes

Translate

Translate

Report

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 Beginner ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

Meaning I have to remake the entire file? Not just the button?

Thank you.

Votes

Translate

Translate

Report

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 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

You can either rotate the image before importing it into the field, or afterwards.

Doing it afterwards is more complicated as it requires using a script, or changing the field's properties.

If you want to allow your users to do it more easily you can use this (paid-for) tool I've developed: Custom-made Adobe Scripts: Acrobat -- Apply Image Fields Toolkit

Votes

Translate

Translate

Report

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 Beginner ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

Hi,

Thank you. As it's already in its right position, rotating it before doesn't seem to help. How can it be done afterwards, using a script?

(Sorry, my company doesn't allow me to buy/install software).

Votes

Translate

Translate

Report

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 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

You'll need to change the button's rotation property. For example:

this.getField("Image1").rotation = 90;

Votes

Translate

Translate

Report

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 Beginner ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

Thanks, this will work already!

Is it possible to rotate this automatically though? If the picture itself changes...

Votes

Translate

Translate

Report

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 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

LATEST

No.

Votes

Translate

Translate

Report

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
LEGEND ,
Jan 03, 2019 Jan 03, 2019

Copy link to clipboard

Copied

I meant remake either the file or the page. You can't fix this by further rotations. However, try67 may have a better solution!

Votes

Translate

Translate

Report

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