Skip to content

How can I create an image link? #16062

Answered by niden
s-ohnishi asked this question in Q&A
Aug 18, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I have not tried this but can you issue the image as raw?

Something like this

{{ tag.a( url('ctrl/act'), tag.img(url('img/some.png')), [], true  ) }}

So the a should not escape the HTML that the img generates.

Replies: 2 comments 3 replies

Comment options

niden
Aug 18, 2022
Maintainer Sponsor

You must be logged in to vote
1 reply
@s-ohnishi
Comment options

Answer selected by s-ohnishi
Comment options

niden
Aug 18, 2022
Maintainer Sponsor

You must be logged in to vote
2 replies
@s-ohnishi
Comment options

@niden
Comment options

niden Aug 19, 2022
Maintainer Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants