dermoritz
dermoritz

Reputation: 12991

how to integrate an png image with html imagemap in gwt app

my gwt app uses an external lib to render charts (birt). this lib is able to provide an html/js-imagamap with the rendered png. but what is the best way to integrate it in gwt front-end? my first idea was to let the lib generate html with imagemap and embedded (base64) image. the html could be easily integrated?!

but base64 is noot good for ie6/7 (ie8 max 32kb). so is there a way to link the image in html and write an servlet/gwt-service to fetch image on loading the html? or is ther a much easier way?

Upvotes: 0

Views: 318

Answers (1)

Chii
Chii

Reputation: 14738

If you already have the html+js/css generated, why not just render that as an iframe in your main app? its simple and effective.

Upvotes: 1

Related Questions