# Force Download on Photo Link

**URL:** <https://community.glideapps.com/t/force-download-on-photo-link/65419>\
**Category:** Ask for Help\
**Created:** [August 26, 2023, 2:31pm UTC](https://community.glideapps.com/t/force-download-on-photo-link/65419 "2023-08-26T14:31:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pepewaio](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@pepewaio](https://community.glideapps.com/u/pepewaio)\
**Post date:** [August 26, 2023, 2:31pm UTC](https://community.glideapps.com/t/force-download-on-photo-link/65419/1 "2023-08-26T14:31:06Z")

</div>

Dear Community

How can we use the action text to force download the photo link? Right now it opens the photo onto a browser.

 ![ForceDownload](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/1/016554311b927b1a5eba670f052c3c1f38037816.jpeg)

Saw somewhere in the community here, but [Force to downloading the file instead of open new tab - #29 by Uzo](https://community.glideapps.com/t/force-to-downloading-the-file-instead-of-open-new-tab/58912/29)

Your advise and support is much appreciated.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 26, 2023, 11:43pm UTC](https://community.glideapps.com/t/force-download-on-photo-link/65419/2 "2023-08-26T23:43:21Z")

</div>

I haven’t tried it myself but inspecting the code on the example you linked shows that he was using custom code.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d3b9ac320f06998a9a69178aa233a9f3d371c7a.jpeg)

---

<div class="post-metadata">

**Author:** ![pepewaio](https://avatars.discourse-cdn.com/v4/letter/p/e0b2c6/32.png) [@pepewaio](https://community.glideapps.com/u/pepewaio)\
**Post date:** [August 26, 2023, 11:51pm UTC](https://community.glideapps.com/t/force-download-on-photo-link/65419/3 "2023-08-26T23:51:10Z")

</div>

Thanks!

Does it mean copy the whole chunk of code into the Action Text?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 26, 2023, 11:55pm UTC](https://community.glideapps.com/t/force-download-on-photo-link/65419/4 "2023-08-26T23:55:06Z")

</div>

No, I don’t think Action Text has anything to do with it. I don’t know if Rich Text renders a script like that, or this is a third-party embed. It looks like an embed to me since there’s a parent iframe.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/6/86a18ea0c07a56b0f201256394c00327bda53a1f.jpeg)
