Skip to main content
Participant
July 28, 2024
Question

How to fetch from JSX

  • July 28, 2024
  • 2 replies
  • 235 views

Hi All, 

 

I'm looking for a way to fetch image files using a JSX. The idea is that I parse through a CSV with a bunch of data fields, and then I want to download the images contained in a particular field. 

Thanks in advance for any and all help, 

 

K

This topic has been closed for replies.

2 replies

Community Expert
July 29, 2024

JSX natievely just has a Socket object to make network connection. You could use that but it would be a lot of work I suppose. Other options that you could use are.

  • You could use an invisible CEP extension and use the JS part to download the image
  • You could explore using UXP. I have not looked into this much so can't guide too much on this.
  • If using JSX is the only option then you can look at https://coppieters.nz/?p=133 by @RorohikoKris 

-Manan

-Manan
leo.r
Community Expert
Community Expert
July 29, 2024

Just in case: do you intend to use the images in InDesign one way or another? Or are you simply looking for a way to download images from the Internet using links supplied in a CSV file?