掲示板
tag for image problem
Hello evrey body,
I'm new in liferay and I can't display image with primefaces tag nor with html tag
I trid the following tag
<p:graphicImage width="40" height="60" value="/images/mark.jpg" />
<h:graphicImage url="/ManageIssues/images/mark.jpg" />
<img width="40" height="60" src="/images/mark.jpg" />
Thank yu for your help
I'm new in liferay and I can't display image with primefaces tag nor with html tag
I trid the following tag
<p:graphicImage width="40" height="60" value="/images/mark.jpg" />
<h:graphicImage url="/ManageIssues/images/mark.jpg" />
<img width="40" height="60" src="/images/mark.jpg" />
Thank yu for your help
Hello every body,
I find the solution the image was in the wrong place but would retrieve this image from data base and display it.
Image is stored as table of byte.
Thank you for your help
I find the solution the image was in the wrong place but would retrieve this image from data base and display it.
Image is stored as table of byte.
Thank you for your help
11年前 に Neil Griffin によって更新されました。
RE: tag for image problem
Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Hi Amine,
Do you need help with figuring out how to display it after retrieving it from the database?
Neil
Do you need help with figuring out how to display it after retrieving it from the database?
Neil
Hi Neil
yes I didn't find a solution
thank you for your help
yes I didn't find a solution
thank you for your help
11年前 に Neil Griffin によって更新されました。
RE: tag for image problem
Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
I suppose that the "JSF 2" way of doing this would be to provide a custom JSF ResourceHandler in your portlet. I would recommend that you download the jsf2-export-pdf-portlet demo to see an example. Rather than writing a PDF to the response, you would write an image with bytes retrieved from the database.