-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I'm try to load an image into zk component image through src property.
In order to show the image i put in src this :
data:image/png;charset=utf-8;base64{binarydata}<br>
Where binarydata is the data that i have in an inputstream variable .
this.image = new String(IOUtils.toByteArray(image),"UTF-8");
this.image = "data:image/png;charset=utf-8;base64{"+this.image+"}";
Now the image isn't show .
Some data are included in the image and some are display as String .
Asked: 2013-05-19 19:43:06 +0800
Seen: 8 times
Last updated: May 20 '13
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status
Can you post more code what exactly you will want to do here? Are you using any Image component in ZUL page or only in Java code you are using Image class?
sjoshi ( 2013-05-20 06:03:19 +0800 )edit