By: sunnf - sunnf
Can display image geted from database?
2004-04-23 20:26
in database:
ID name age photo
001 rose 22 /image/rose.jpg
003 marry 25 /image/marry.jpg
.... .... ... ...........
now,I want to display description(include picture of everybody) of everybody to pdf.
What idea?
By: sunnf - sunnf
RE: Can display image geted from database?
2004-04-23 22:43
OK!I now can display picture of everybody in pdf.
but my pictures locate d:/picure/image/,not in web path.
i do like $P{PICTUR_PATH_PRE}+ $F{PHOTO},
parameters.put("PICTUR_PATH_PRE","d:/picture");
but it can not work.dori.jasper.engine.JRException: Image not found : /image/rose.jpg
By: sunnf - sunnf
RE: Can display image geted from database?
2004-04-24 22:16
OK!
i write a function in database which return "d:/picture",and it be easy to edit when pictue is in e:/image or d:/image.
Can display image geted from database?
2004-04-23 20:26
in database:
ID name age photo
001 rose 22 /image/rose.jpg
003 marry 25 /image/marry.jpg
.... .... ... ...........
now,I want to display description(include picture of everybody) of everybody to pdf.
What idea?
By: sunnf - sunnf
RE: Can display image geted from database?
2004-04-23 22:43
OK!I now can display picture of everybody in pdf.
but my pictures locate d:/picure/image/,not in web path.
i do like $P{PICTUR_PATH_PRE}+ $F{PHOTO},
parameters.put("PICTUR_PATH_PRE","d:/picture");
but it can not work.dori.jasper.engine.JRException: Image not found : /image/rose.jpg
By: sunnf - sunnf
RE: Can display image geted from database?
2004-04-24 22:16
OK!
i write a function in database which return "d:/picture",and it be easy to edit when pictue is in e:/image or d:/image.
0 Answers:
No answers yet