BBFMedia / PHPJasperXML

25 stars 36 forks source link

Image from BLOB fields from MySQL does not display using phpjasperxml #2

Closed lvsan closed 11 years ago

lvsan commented 12 years ago

hi,

i am design the .jrxml using ireport and the image successfully display using ireport viewer.

while i run my php to open it, the image not display.

can anyone help me. it is urgent for me to come out the solution since my report will indicate a lot of image from database.

thanks.

below is my xml code get from the ireport:

<?xml version="1.0" encoding="UTF-8"?>

<band splitType="Stretch"/>

regards,

Karen

kstan79 commented 11 years ago

You can use base64 text as imageexpression.

lvsan commented 11 years ago

Hi Mr. Tan,

Can provide me the example to do so? It is really help if you able provide me the sample.

Thanks.

Regards,

Miss Low

From: kstan79 [mailto:notifications@github.com] Sent: Thursday, April 04, 2013 11:41 PM To: BBFMedia/PHPJasperXML Cc: lvsan Subject: Re: [PHPJasperXML] Image from BLOB fields from MySQL does not display using phpjasperxml (#2)

You can use base64 text as imageexpression.

— Reply to this email directly or view https://github.com/BBFMedia/PHPJasperXML/issues/2#issuecomment-15905083 it on GitHub. https://github.com/notifications/beacon/wednnkRF8sCwMjPlq0OM8Yxy85c39NKEQ3YtmEpKFGKzP-8ETjgQxEz1XwfgMSyA.gif

lvsan commented 11 years ago

Hi,

I have facing another problem while use the base64_decode:-

TCPDF ERROR: [Image] Unable to get image: D:\wamp\www\yii\systempos\reports\class\tcpdf\cache\img12E1.tmp

Can help me while this error prompt out?

Thanks.

Miss Low

From: kstan79 [mailto:notifications@github.com] Sent: Thursday, April 04, 2013 11:41 PM To: BBFMedia/PHPJasperXML Cc: lvsan Subject: Re: [PHPJasperXML] Image from BLOB fields from MySQL does not display using phpjasperxml (#2)

You can use base64 text as imageexpression.

— Reply to this email directly or view https://github.com/BBFMedia/PHPJasperXML/issues/2#issuecomment-15905083 it on GitHub. https://github.com/notifications/beacon/wednnkRF8sCwMjPlq0OM8Yxy85c39NKEQ3YtmEpKFGKzP-8ETjgQxEz1XwfgMSyA.gif