0

is possible to use svg images in image attribute for tag a

asked 2020-09-16 14:56:48 +0800

gvguad gravatar image gvguad
3 2

updated 2020-09-17 10:00:53 +0800

cor3000 gravatar image cor3000
5399 2 7
ZK Team

I have configured loader

<servlet-mapping>
    <servlet-name>zkLoader</servlet-name>
    <url-pattern>*.svg</url-pattern>
</servlet-mapping>

but neither tag a nor image can display svg image

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-09-17 10:44:13 +0800

hawk gravatar image hawk
2655 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2020-09-17 10:45:19 +0800

You don't need to modify zk loader servlet-mapping to show an SVG. It's not for that purpose, it's for processing .zul and .zhtml. (please remove that mapping you show)

Please check several examples on the zkfiddle.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2020-09-16 14:56:48 +0800

Seen: 7 times

Last updated: Sep 17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More