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

Can't Link Attached Image file to a Text Inside PDF File

Community Beginner ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

Hello Friends, I have a problem, I played whole the day and couldn't solve it (Can't believe that Acrobat DC Can't fulfill or solve this task).

So My problem is: (I'll Describe what I want to do).

I created a PDF document (Just for testing Purposes) with sample texts in it "Text 1, Text 2, Text 3"

Then attached 3 images "Image 1, Image 2, Image 3" and one "Test PDF page from attachment panel, everything is OK, but from here begun my problem.

I could not make link for these attached image files (There is neither option nor choice).

I needed to link image 1 from attachment to a "Text 1", but it's impossible... (I can link PDF file from attachment without any problem)

While playing i found something like solution (But this is not a solution), I found Comments tool and from it I was able to attach a image...

So what to do how can i link an image files to a text in PDF document (as it does with PDF files).

Is it Acrobat Bug or just lacks that function?

Thank you In Advanced!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.0K

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 Expert , Jun 09, 2016 Jun 09, 2016

Actually, it can be done, but it's unnecessarily complicated. You need to use a JavaScript script to do it, like this one:

this.exportDataObject({cName: "NameOfImage.jpg", nLaunch: 2});

Just adjust the name of the image file to the one used in your document and it should work.

Votes

Translate

Translate
Community Expert ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

Actually, it can be done, but it's unnecessarily complicated. You need to use a JavaScript script to do it, like this one:

this.exportDataObject({cName: "NameOfImage.jpg", nLaunch: 2});

Just adjust the name of the image file to the one used in your document and it should work.

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 ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

Hello Dear MVP, Thanks for your quick answer..

Can you give the step by step procedure (I just pasted this java code in actions, but does nothing), I thing I'm making mistakes... I really need this. Please Help

Thanks In Advanced!

P.S. If you have some sample demo PDF would be great too.

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 ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

After creating your link select the Action as "Custom link":

Then select "Run a JavaScript" as the Action type and click on Add...

Paste the code into the window that opens and click OK:

Now click OK again to close the link dialog and you're done.

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 ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

Perfect! I did it

Greatest Thanks, So my problem is solved.....

P.S. Please add that function in upcoming version of Acrobat, this is really handy ....

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 ,
Jun 09, 2016 Jun 09, 2016

Copy link to clipboard

Copied

LATEST

I have no say over what will be included in the next version of Acrobat.

You can make a feature request here: Feature Request/Bug Report Form

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