This will prevent file from opening if supported. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.
Asked 3 years, 7 months ago. Active 25 days ago. Viewed 24k times. Don't the code you have there work? No as you can see if you run it, it opens a new page with the image instead of downloading it — gnifrus.
This link will open the file, either in a Web App or a Desktop Application, depending on your settings. To make the link download you need to remove some things from the copied link.
Once you paste the copied link into a hyperlink or button or whatever, just remove all text after the? Something like the below:. All the best! You need to be a member in order to leave a comment. Sign up for a new account in our community. It's easy!
Already have an account? Sign in here. Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More. Share More sharing options Followers 2. Recommended Posts. Darussalam Posted March 2, Posted March 2, Education Sector.
Microsoft Localization. Microsoft PnP. Healthcare and Life Sciences. Internet of Things IoT. Enabling Remote Work. Small and Medium Business. Humans of IT.
Green Tech. MVP Award Program. Video Hub Azure. Microsoft Business. Microsoft Enterprise. Browse All Community Hubs. Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for. Show only Search instead for.
0コメント