Skip to main content
Inspiring
December 14, 2018
Answered

Cannot bind a variable to an image object

  • December 14, 2018
  • 4 replies
  • 4511 views

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 has been closed for replies.
Correct answer _monolinea_

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

4 replies

Participant
October 23, 2024

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.

Participant
March 12, 2024

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.

sujeevany13272490
Participant
November 23, 2022

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

_monolinea_AuthorCorrect answer
Inspiring
December 14, 2018

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

Participant
August 18, 2021

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?

Participant
December 22, 2021

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