0 Replies Latest reply on May 8, 2014 12:30 PM by Antonio Fernandez

    I want to load images from folder outside website

    Antonio Fernandez Newbie

      Hello, my name is Toni.

       

      I have a question regarding the configuration path outside website.

      I want to load images on website from the directory /media/images

      I have Ubuntu 14.04 and have tried Wildfly version 8.0.0 and 8.1.0.

      I do not know if my configuration problem or software problem.

       

      Options of wildfly

      Connector > Web > Undertow Core

      Handler > File

       

        entity.key          path

        images        /media/images

       

      Directory listing: true

      Cache buffer size: 1024

      Cache buffers: 1024

       

      In the pages of the project i have:

            <h:graphicImage value="images/inage_1.jpg" width="200" height="171" />

       

      And the permissions of the directory is:

            drwxr-xr-x 2 root root 4096 may  8 14:04 images

       

      Is correct or I mistake because not working?.

      Thank you for your attention.