I found a Variableimporter script for AI but based on youtube vidoes, I can set an image as dynamic only when it is PNG file.
Does anyone figured out how to use Variable data on SVG objects?
Link to Variableimporter
I tried to create a dynamic image on ai and svg objects, both did not worked.
Problem solved. It's actually possible to put any type of image as data type. I used wrong file type in my template. I had an SVG file in there and i wanted to link it with .ai type. To create dynamic image, file format of images you want as variables, must be the same as in your template.