Skip to main content
Inspiring
Dec 14, 2018 7:59 AM UTC
Answered

Cannot bind a variable to an image object

I'm trying to generate documents where the text and an image will be parsed from a spreadsheet. Gotten so far as to import my datasets (with Silly-V's script if that makes any difference), and the text variable is bound to the correct text object. The image variable, however, cannot be bound to my image. I made sure it was a placed (linked) image, but the "make object dynamic" button is grayed out when I try to bind it to the image variable.  I also tried to do it through the VariableImporter script (Bind by name), and it didn't "find" the image when I tested. I have tried with other images, other formats, still no luck.

What can I be doing wrong?

This topic is closed to new replies. Start a new post to keep the conversation going.
_monolinea_Correct answer
Inspiring
Dec 14, 2018 9:22 AM UTC

Answering myself in case anyone runs into the same problem: I was trying to use .svg images, which aparently cannot be linked, they're automatically imported. converted them all to eps and it's now working

8 replies

Participant
Oct 23, 2024 3:42 PM UTC

I don't know if your case is the same as mine but, I discovered out that if my image file name has 2 consecutive spaces, AI will not link that image. Then I changed the name and everything is back to normal.

Translate
Participant
Mar 12, 2024 5:23 PM UTC

The "Make object dynamic" button is grayed to solve this problem.
make sure you don't do Capy Past the image, To import an image, follow these steps:

Click on "File"
Select "Place"
Alternatively, you can use the shortcut Shift + Ctrl + P

After importing the image try to bind it to the image variable.

Translate
sujeevany13272490
Participant
Nov 23, 2022 6:08 PM UTC

So for me the object that you are binding cannot be in a group. so select everything and ungroup the object, select all items then press cmd+shift+G

Translate
_monolinea_AuthorCorrect answer
Inspiring
Dec 14, 2018 9:22 AM UTC

Answering myself in case anyone runs into the same problem: I was trying to use .svg images, which aparently cannot be linked, they're automatically imported. converted them all to eps and it's now working

Translate
Participant
Aug 18, 2021 10:57 AM UTC

I'm having this problem - tried jpg, png, eps, ai and a bunch of other things as well. Texts allow me to link them, but the images I place refuse to. What's going on?

Translate
Participant
Dec 22, 2021 2:14 AM UTC

Hello Mornlite, could you fix it? I'm having the same problem. Help.

Translate