How to download a bunch of hyperlinked images, save them to a folder and create attachments with them?

01-29-2019 08:37 AM
New Contributor III

I have a bunch of point features that have hyperlinks pointing to a web server with photos.  I would like to bulk download the images and then use Arcmap to create Attachments to the images, rather than rely on the hyperlinks.  Any ideas or scripts that would do this?


2 Replies
Esri Contributor

Hi William,

This sounds like an excellent area to automate the boring stuff. I recommend writing a script to iterate through the features using a cursor, and then for each feature download the image, and add it as an attachment for its corresponding job. I'm not sure how you have the hyperlinks stored, but parsing job information and adding the attachment can be handled using our module. I recommend taking a look at the job class for adding the attachment, and whichever class corresponds with how you have the information stored. Here are some recommendations for downloading the images. I hope this gets you up and running!


0 Kudos
New Contributor III


Thanks for the input.  I never knew of cursors before. 


0 Kudos