You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
yammineesowri
7 years agoExplorer | Level 3
Using Magento 2 to import images and get a timeout or access permissions error
Hi Support,
i want to use my images in other application (Magento 2 import product).
Imported resource (image) could not be downloaded from external resource due to timeout or access perm...
- 7 years ago
All of the share links you posted (the first three are valid) work just fine, so there's no problem with the links themselves. If the link with ?raw=1 does not work within the application, then you'll need to contact Magento Support. My guess is that the application doesn't accept URLs that don't end in a recognizable file extension (.JPG, .PNG, etc.). If that's the case, images from a share link will not work for you. There are no other solutions from Dropbox for such a case.
Jay
Dropbox Staff
More info would be helpful!
If the app is using the Dropbox API to access and import the files directly from there, then this would be an issue with the Magento 2 app itself, and not Dropbox. However, let us know more about how the app is getting files from Dropbox.
Additionally, your email was removed from the post, for your own security and privacy, as we do not request this in a public forum. Please could you avoid this in future!
Keep us posted!
If the app is using the Dropbox API to access and import the files directly from there, then this would be an issue with the Magento 2 app itself, and not Dropbox. However, let us know more about how the app is getting files from Dropbox.
Additionally, your email was removed from the post, for your own security and privacy, as we do not request this in a public forum. Please could you avoid this in future!
Keep us posted!
yammineesowri
7 years agoExplorer | Level 3
Hi Team,
I am trying to extract(download) image from drop box image links through our magento 2 application.
Example i tried to use from this below list of urls:
https://cedcommerce.com/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/m/a/mass_import_m2.png
http://yaminisowri.in/images/training.jpg
https://www.mageplaza.com/media/vendors/bsscommerce.png
i can access the first 3 urls not the drop box url below one:
https://www.dropbox.com/s/ccbn8mpglugfusg/karvy-product-image_1.png?dl=0
May i know the issue either we need to buy plan or can you provide any permission from your side.
Thanks
Yamini
- Jay7 years agoDropbox Staff
Thanks for the details. You won't be able to extract the image using that link.
However, if you change the dl=0 to raw=1, the image itself will be displayed. Perhaps your Magento program can work with that?
This is forcing the file to render online, of which more details can be found here.
Hope this helps!
- yammineesowri7 years agoExplorer | Level 3I tried all these urls it did not work for me:
https://www.dropbox.com/s/ccbn8mpglugfusg/karvy-product-image_1.png?raw=0
https://www.dropbox.com/s/ccbn8mpglugfusg/karvy-product-image_1.png?raw=1
https://www.dropbox.com/s/ccbn8mpglugfusg/karvy-product-image_1.png?dl=1
https://dl.dropboxusercontent.com/content_link/J8GBhql1S3dN1RtA4FGBAyknvV8YZWqDvkxwjimOjd71qwVmyY3nlqwd2QTnd2UJ/file
please give me fix for this- Jay7 years agoDropbox Staff
If the Magento program can't access the raw=1 link and parse it as the original PNG, then it won't be able to extract the image from Dropbox directly.
There isn't any workaround for this, since the raw=1 is the only way for images and files in general to be directly viewed in a browser.
Perhaps you can contact the developers of Magento to see if they have a workaround of their own?[edit] submitted this after Rich did his own reply, but I'll leave it as it is.
About Security and Permissions
Start a discussion in the Dropbox Community forum to get help with your account security and permissions. Find support from Community members.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!