Questions tagged [graphicimage]

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.

104 questions
0
votes
0 answers

Can show a single 'o:graphicImage' image but not multiple numbers of image

Can select a single image & display it using these two:
NOTiFY
  • 1,255
  • 1
  • 20
  • 36
0
votes
0 answers

imageRotateAndResize with Galleria in Primefaces

I'm use galleria with StreamedContent to show images from c://. The galleria show the images correctly, but when I use the buttons to scale the image with pe:imageRotateAndResize, it only affects the first image, and when I change the image and use…
0
votes
0 answers

p:graphicImage with StreamedContent throws "Error in streaming dynamic resource"

I have a method which returns a byte array of an image. The problem is when i try to show it on the screen with StreamedContent i get Error in streaming dynamic resource. imageBean: BufferedImage bImage = ImageIO.read(new File("imagepath")); …
prof958
  • 23
  • 1
  • 4
0
votes
1 answer

o:graphicImage caching possible?

In my topbar I have a to show picture from my user.
vished2000
  • 164
  • 1
  • 11
0
votes
0 answers

StreamedContent not getting populated beyond RENDER_RESPONSE

I'm relatively new to JSF and Primefaces. I'm trying to build a document viewer that would display tiff, jpeg and pdf. My UI has a left and a right layout. Left layout contains a vertical grid of thumbnails of the docs. User clicks on a thumbnail,…
Tatha
  • 131
  • 1
  • 13
0
votes
0 answers

Passing dynamic param through bundle.properties to alt text value of graphicImage

I am trying to add a dynamic value to a string from bundle.properties, then get all of that into the alt text attribute of the graphicImage component, following the same f:param method used with the outputFormat component. But it appears that does…
mheppler9d
  • 169
  • 2
  • 2
  • 9
0
votes
1 answer

Is there news on getting the URL of ?

Basically my question is the same as this one answered five years ago: I would like to output the URL of a server-provided image as from , but just the URL and not an tag. What I am looking for is a solution like this: (This is…
Matthias Ronge
  • 9,403
  • 7
  • 47
  • 63
0
votes
0 answers

Primefaces graphicImage not refreshing with ajax

Using Primefaces 6.0 with Glassfish Server 4.0 and JSF2.2 I want to be able to add and remove multiple images using p:fileUpload. Add is working fine but when I try to remove the image using commandButton with ajax, the logic works fine in the…
0
votes
2 answers

styling jsf tag in css file

I have a web project. I have no trouble when styling html tags, div or class. But when I style a JSF tag (graphicImage) it doesn't work. It doesn't work neither like this…
codergirrl
  • 145
  • 1
  • 11
0
votes
0 answers

Show image from string path outside the project Primefaces

I have String path that I'll use to show image on header, I take the path from database that return a String filename for image, then the image are in "D:\Job\Potapota\images\(filename)". I already did the String path from db that I initialize on…
Andre
  • 1
  • 5
0
votes
0 answers