활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi guys,
I have this behavior on the internet explorer where if I click on download button the image will be opened in a new tab instead of prompting the download window.
Does anyone have an idea on how to change this behavior?
On others browser this seems to work just fine.
I'm using the Asset Class to get the asset download link;
path = asset.getPath();
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
Can you try to add download attribute in anchor tag and check what is the behaviour
조회 수
답글
좋아요 수
Can you try to add download attribute in anchor tag and check what is the behaviour
조회 수
답글
좋아요 수
This doesn't seems to be applied in this case since the download attribute isn't supported by Internet Explorer 11.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
I feel like I'm lost here, I can't find anywhere an example for this.
Do you think you can help me with a little snippet?
Ty
조회 수
답글
좋아요 수
Hi,
Please check for RewriteRule Flags - Apache HTTP Server Version 2.4 Redirect rules
T type is used to set mime type
Sets the MIME type with which the resulting response will be sent. This has the same effect as the AddType
directive.
You can combine the use of Content-Disposition
with other content-types, such as image/png
or even text/html
to indicate you want saving rather than display. It used to be the case that some browsers would ignore it in the case of text/html
Moreover you can set above only for IE browser
Redirect Website Requests Based on the Browser Used (Chrome, Firefox or IE)
조회 수
답글
좋아요 수
조회 수
Likes
답글