Hi community!
Is there way to create button for image so user will be able to download image by pressing the button?
Hi community!
Is there way to create button for image so user will be able to download image by pressing the button?
is it work?
what is in template finally?
I didnât found any template having the âdownloadâ tag.
As I explain in the other post, you need to create a Template column in the data editor. In that template column, add the HTML that includes the âdownloadâ attribute, as explained in the attached link in my other post. Instead of entering a url for the href attribute, set up a replacement value. Maybe something like {url}
, and replace it with your actual url.
So the template should look something like this:
<a href="{url}" download>Download File</a>
And all you need to do is set up a replacement for {url}
.
Finally display that HTML using a rich text component.
Hi Jeff! What im doing wrong?
upd: corrected video
Upd: yes in this video im showing construct column but using template colemn in act
Youâre using a construct url column. What I explain uses a Template column. You need to build an âa hrefâ HTML tag. Not a url with query parameters.
Exactly Jeff im using template column
I guess the problem is this:
âIn the latest versions of Chrome, you cannot download cross-origin files (they have to be hosted on the same domain).â.
im using Edge not Chrome
@roope257 @slscustom.ru In all fairness, I havenât tried this myself, or at least havenât tried it in a couple of years. If I get a chance, Iâll test it out later tonight.
@slscustom.ru Iâm not sure why you have the extra New Column C template column. The replacement in New Column F could directly refer to the photo column. But either way should give you the same result, so it shouldnât make a difference.