graphicImage is a JSF tag that renders an HTML element. Some component suites like Primefaces have another graphicImage implementation to dynamically render images as an HTML
element.
Questions tagged [graphicimage]
104 questions
1
vote
1 answer
Cannot convert class org.omnifaces.el.ExpressionInspector$FinalBaseHolder to class java.lang.Integer
I am trying to show image for each row in my data table. I took an example from omnifaces:

Nikola
- 624
- 1
- 14
- 31
1
vote
1 answer
Avoid rendering empty byte array with
I got two to display the stored image and a dummy image if there is no image. Actually, the size of the stored images can be zero. If so, the first

alexander
- 1,191
- 2
- 20
- 40
1
vote
2 answers
Preview image in p:graphicImage before submitting to database primefaces
In my application, I want the user to create a person, submit the form and on next page verify the details and then submit to db. The person can have an image as well. For simplicity sake I am only using two fields 1) name 2) file. I am not able to…

Chadha
- 11
- 1
- 3
1
vote
1 answer
graphicImage not correct url
I've the following primefaces component, it should just load images that are under /WEB-INF/Resource/{1.png,2.png,3.png,4.png}.

LNRD.CLL
- 385
- 1
- 5
- 19
1
vote
1 answer
Implement instead of icon in of
Ok, title is a little confusing but I can not figure out how to put out my problem in single sentence.
So here is the deal:
I need to somehow implement graphicImage component from Primefaces (or even better, Omnifaces, since I load images from…

Andrija
- 367
- 3
- 14
1
vote
1 answer
mod_pagespeed image compression with primefaces
Why does mod_pagespeed compress images rendered using but not images using
.
For example:
Doesn't get compressed:
This does get…


DD.
- 21,498
- 52
- 157
- 246
1
vote
1 answer
primefaces graphicimage from database not loading
I am having trouble displaying image from database on a primefaces graphicimage component. I am using primefaces 3.4.2, jsf 2.2, glassfish 3.1.2.2. Following is the simple code I am trying. I went through other posts related to p:graphicimage and…

jpr
- 185
- 3
- 6
- 20
1
vote
1 answer
How to display alternate text on in PrimeFaces?
I'm displaying images on which are stored under the webroot\resources\fileUpload\product_image\thumb directory as follows.

Tiny
- 27,221
- 105
- 339
- 599
1
vote
2 answers
Icons does not appear in p:GraphicImage
I want to add some icons to menubar.
I put them into resources/images folder, but they don't appear.
Example: In submenu I added a icon="fail.ico", but it doesn't appear.
…

Deniz
- 127
- 1
- 5
- 14
1
vote
1 answer
JSF won't load everything at the same time
In my JSF application if I refresh the page everything get's rendered exceted the primeface graphicimages and jsf isn't working. If I wait 5 seconds the ajax calls are working again and graphicimages are getting loaded.
Another example…

Lukas Eichler
- 5,689
- 1
- 24
- 43
1
vote
1 answer
How to call a bean method when mouse over on a graphicImage?
I have the requirement that on mouse over of a a JSF backing bean method should be called which will display some data dynamically.
How can I achieve this? Please don't suggest me JavaScript code.

Venkat Maridu
- 892
- 3
- 22
- 45
1
vote
0 answers
How to load an image from an external path in JSF page?
Hello once again i ask question on stackOverflow :)
I have a list of questions in my database , every question has an image that I upload with a specifying an external path like *C:\imgQuestions*, the backup works fine .
My problem is…

Med
- 117
- 1
- 14
1
vote
3 answers
how can i display a dynamic photo in the user detail's page
Possible Duplicate:
Display image from database with p:graphicImage
I want to display a photo from its url stored in the database , so i used as follow

MarwaInsat
- 293
- 1
- 4
- 17
0
votes
0 answers
o:graphicImage 'value' attribute must refer a @GraphicImageBean or @ApplicationScoped bean
Using the example of 'o:graphicImage': "The below one renders byte[] property taking a Long argument as resource in loop": https://showcase.omnifaces.org/components/graphicImage
Adding…

NOTiFY
- 1,255
- 1
- 20
- 36
0
votes
0 answers
PrimeFaces p:graphicImage support for Streamed Content SVG
I'm trying to use a p:graphicImage with an SVG in a streamed content.
Right now I'm stuck 'cause if I set the entire path of the file, I'm able to see the image.
If I use the StreamedContent (org.primefaces.model.StreamedContent) and I'll watch…

Riccardo Fassina
- 106
- 9