using image url to import and display image

New Here ,
Sep 13, 2020

Copy link to clipboard

Copied

I really like the feature using a csv-file to create a slideshow. It is easy setting up expressions for the strings. Love it! But in my csv-file each row has an url to an image. How do I write an expression to grab that image, import it and display it?
Thank you for any help.

TOPICS
Dynamic link, Expressions, Import and export

Views

130

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Sep 13, 2020

Copy link to clipboard

Copied

Expressions in After Effects cannot access a web browser, go to a URL, download the to a specific directory and then import the file into the Project, access the file, and then import it into a timeline. You would need at least three custom apps for that, and they would not talk to each other. Expressions can only access source files that have already been imported into AE or other layers in a comp.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Sep 16, 2020

Copy link to clipboard

Copied

Thank you. I've downloaded all the images and importet them manually. I have the filenames in the csv. Is it possible, by expressions, to loop through all the images using the csv-filenames?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Guide ,
Sep 16, 2020

Copy link to clipboard

Copied

I think the best you could do would be to load all the images into your comp, each with an opacity expression linked to your csv data to determine if that layer should be visible or not.

 

Dan

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Sep 13, 2020

Copy link to clipboard

Copied

There is no such thing. At best you could create a script that contacts the server, downloads the image, imports it and replaces it on the timeline, but even that would be complex due to security considerations and other limitations in network access with scripts.

 

Mylenium

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more