0
Hello I have a screen that uploads a file and saves in a folder in a directory of the computer until and saved in the database the complete path of the image, now I want to display this image in a table for example I made the example of the first faces but not conisgo display the image.
<p:column headerText="Foto">
     <p:lightBox styleClass="imagebox" id="lighbox1">  
          <h:outputLink value="#{item.imagem}" title="Nature 1">  
           <h:graphicImage name="#{salaBean.exibirImagem(item)}" id="nature1" style="height: 77px; width: 100px" />  
           </h:outputLink>
       </p:lightBox>
 </p:column>
in my bean I bring the complete example path: D: data Sar uploads Chrysanthemum.jpg
Why use the
p:lightBox? Try it without him, and see where it goes.– Cold