0

org.zkoss.zhtml.A org.zkoss.zhtml.Img Array of bytes Image

asked 2013-08-17 13:46:47 +0800

javiut gravatar image javiut flag of Venezuela, Bolivarian Republic of
90 1 5

i have a array of bytes i am working on photo gallery which display the data in the following pattern.

 <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/800px-Biandintz_eta_zaldiak_-_modified2.jpg">
 <img src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Biandintz_eta_zaldiak_-_modified2.jpg/100px-Biandintz_eta_zaldiak_-_modified2.jpg">
 </a>

as you can see need the source of the file image i have the byte array of the image what can i do the fullfill this requirement?

i am using zhtml tags because this will be handle it by javascript not for ZK. this means the a tag and img tag would be something like

<h:a><h:img/></h:a>
delete flag offensive retag edit
Be the first one to answer this question!
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: 2013-08-17 13:46:47 +0800

Seen: 12 times

Last updated: Aug 17 '13

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