We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

StevoVienna's avatar
StevoVienna
Explorer | Level 4
3 months ago

Drag and drop URLs of files to other MacOS apps

Hi, 

 

we want do use dropbox as an alternative for our current DAM and so we must be able to drag and drop image files from dropbox into Affinity Designer, Publisher or Photo.

 

This way the files stay connected with their web-source, if a certain key (ctrl) is hit in Affinity while dragging the images from Safari. It works great with websites and their images (i.e. resulting in a path like https://static.agravity.io/af6827b1d-080b-4f76-9b1f-5ee91cf12514/p3a350b8a-076f-4b1b-bdc2-9f2035c54c74/1130x810.webp), but not from Dropbox. Here the result comes as an error like i.e. 

"https://previews.dropbox.com/p/thumb/ACUiEmcmtP9lV0Lkv0cbOcemd_8sBc9L_V4Fy8uCAYb66ACWnhyPezUrxGbhHf7SeY4P8L7bJPrO3uDPFy5tOvLO5fdgZ2AcWRsJE-LnZsTDE2gi31md0SF5yDiPeqKgwQ0FGfnnXXM-YzWxbTntsgF23d5REr_nP0O-0PIY27WABzIU4sTdGoaypuchIKQkBjkPAq5LPdgqk7SzXEWsM0GSzMAwYqxML1nKD5xBCxDWR4WUrMmN64KfN7VWr1-a5m8_usmTuBhJQW14xhC2tQP7RUMedPrh8hVV70lGf7IsobhChycCu6q2pz1iw5VmS4KF-YNPUCKOqyng4I1rMNnf1Bs-2mZi6lhbI8j3lJ8CXdSQaLPWxs9xrVAGgViJ_Kw/p.jpeg". 

This is strange. How can we drag and drop assets with actual URLs from Dropbox to other MacOS apps to keep them linked?

 

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi @StevoVienna, thanks for bringing this to our attention.

     

    Are you essentially trying to have the raw image or file linked as a preview from the Dropbox site, into another program?

     

    Have you tried using shared links, and forcing the file to render by changing the dl=0 to raw=1?

     

    This will help me to assist further!

    • StevoVienna's avatar
      StevoVienna
      Explorer | Level 4

      Hi Jay,

      shared links wont do the trick, as the file has to be dragged onto the other apps canvas. There is no URL-import-field in most MacOS desktop publishing apps. Depending on the actual resolution visible in Dropbox the placed file would then be production ready or just a preview.

      So the drag and drop-way to place the file is the only way applicable to Affinity and other DTP-apps. 

      any other idea?

      • Kevin DBX's avatar
        Kevin DBX
        Icon for Dropbox Engineer rankDropbox Engineer

        StevoVienna The issue you're running into is that unlike agravity.io (and other DAMs?), Dropbox is setup to be more focused on securing your files, than enabling interaction of them with other applications. The previews.dropbox.com... file URLs you're seeing and dragging are going to generate errors in other applications because those applications don't have the proper authorization to access the files. You can test this yourself by opening an incognito browser window and attempting to drag the image there and will see that it won't load because you aren't signed in to Dropbox.

         

        Unfortunately @Jay is correct, and the only way to do this is by using the "raw=1" param on the URL. You can manually do this by generating a sharing link, replacing "dl=0" with "raw=1", and then dragging that image into your app and you should have no issues opening the file.

         

        I've included a quick video to show you what I'm talking about where I drag the image into an incognito window:

        https://capture.dropbox.com/Jwkk9lCtk0XwvDTU

         

        I understand this may not be an ideal workflow for you, but hopefully will accomplish what you're trying to do.