I'll have to spend some more time to understand all the fancy things you've done with the link codes. This goes further than just wanting to import at a higher resolution. I did have a site where duplicate images where a problem, so thanks for documenting all of this for us.

Is the only reason you use Blank photo to get the full image imported at 96dpi? My settings for regular documents is to not use "Resize large imported photos down to ..." so I think I can use a regular document and then try to understand the rest.