| Author |
dynamic data on image?
|
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
|
|
Hi all, Is it really possible to write some Dynamic Data, like some java Bean properties on top of an Image (jpg , gif file etc..) I am with the idea that it is not possible?? I really appreciate your help on this, guys PS: Everything is part of a JSP file, image is in the JSP page and i want the java bean properties to be written on top of the image possible ?? Thanks  [ December 14, 2005: Message edited by: Bear Bibeault ]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
As part of the image, or floating over the image as HTML text?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
|
|
Hi Bear Bibeault, Either is fine, which ever is possible to work,.. probably i was thinking of,.. HTML elements floating over the image Thanks again
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
If the former, you'll need to use JAI (Java Advanced Imaging) to manipulate the image on the server and stream the result to the client. If the latter, it's a fairly simple matter of HTML and CSS.
|
 |
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
|
|
Hi Bear Bibeault, Thanks a lot. I will look into the JAI soon. But in the mean time i want to know how i can put HTML text floating over the image,..?? Say for example, this is some code(of a JSP page) How can I put say for example TimeStamp on top of Image <IMG src="images/ojabackdrop.gif" width="100%" height="30"> I am not that good with HTML and CSS I really appreciate your help Probably if you think this thread has to be moved to the HTML/Javascript forum, please do so. Thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
Since this is taking the HTML route, I've moved it to the HTML forum.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
You'll use CSS to position a div containing the text over the images. Look into the positioning attributes and z-index.
|
 |
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
|
|
Hi Bear Bibeault, Thanks a bunch
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
Check back if you have problems with the CSS notation. Learning CSS will be a great boon to your pages.
|
 |
 |
|
|
subject: dynamic data on image?
|
|
|