overlay images retrieved from a Database
mikemjt <[email protected]> Sun, 21 Oct 2007 11:24:16 -0700 (PDT)
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi there, I have a image of a map and want to overlay a set of images with x
y coords from a database.
This is my code which does not work!
<img:image
src="/images/map_01.gif"
dir="generated"
name="map_rendered.jpg"
attributes="alt='A sample image'"
refresh="true"
quality="1.0">
<img:resize scale="100%" />
<!--load all points to map -->
<c:forEach var="poimaps"
items="${requestScope.poimaps}">
<img:overlay x="${poimaps.x_id}"
y="${poimpas.y_id}" color="0xffffff" tolerance="35">
<img:image
src="/images/${poimaps.imageName}.gif"> </img:image>
</img:overlay>
</c:forEach>
</img:image>
This is the error message!
javax.servlet.ServletException: Overlay must be a nested tag of Image Tag!
Help would be appreciated
Mike greece...
--
View this message in context: http://www.nabble.com/overlay-images-retrieved-from-a-Database-tf4666946.html#a13331683
Sent from the Taglibs - User mailing list archive at Nabble.com.