Re: Reading Image from absolute path

2016-12-16 Thread ganea iulia
Thank you all, I will give it a try.



On Fri, Dec 16, 2016 at 3:32 PM, Tobias Soloschenko <
tobiassolosche...@googlemail.com> wrote:

> Hi,
>
> if you mean absolute file system path
>
> https://ci.apache.org/projects/wicket/apidocs/7.x/
> org/apache/wicket/resource/FileSystemResourceReference.html
>
> If you mean path my URL:
>
> https://ci.apache.org/projects/wicket/apidocs/7.x/
> org/apache/wicket/markup/html/image/ExternalImage.html
>
> Examples are in the javadoc
>
> kind regards
>
> Tobias
>
> > Am 16.12.2016 um 13:14 schrieb Ernesto Reinaldo Barreiro <
> reier...@gmail.com>:
> >
> > I think this example
> >
> > http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
> >
> > will do if you implement the getBytes method to read image from file
> system.
> >
> > On Fri, Dec 16, 2016 at 12:19 PM, ganea iulia 
> > wrote:
> >
> >> Hello,
> >> Do you have any link for a tutorial?
> >>
> >> On Fri, Dec 16, 2016 at 1:04 PM, Ernesto Reinaldo Barreiro <
> >> reier...@gmail.com> wrote:
> >>
> >>> Mount a resource that readi image form that folder
> >>>
> >>> On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia 
> >>> wrote:
> >>>
>  Hello,
>  Wicket 7.
> 
>  I have been struggling to read an image from absolute path but with no
>  luck.
> 
>  I have a folder with some images inside catalina base directory from
> >>> where
>  I need to display images in my web page.
>  However, this does not work.
> 
> 
>  Could you please guide me on how to do this?
> 
>  Thank you.
> 
> >>>
> >>>
> >>>
> >>> --
> >>> Regards - Ernesto Reinaldo Barreiro
> >>>
> >>
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
>


Re: Reading Image from absolute path

2016-12-16 Thread Tobias Soloschenko
Hi,

if you mean absolute file system path

https://ci.apache.org/projects/wicket/apidocs/7.x/org/apache/wicket/resource/FileSystemResourceReference.html

If you mean path my URL:

https://ci.apache.org/projects/wicket/apidocs/7.x/org/apache/wicket/markup/html/image/ExternalImage.html

Examples are in the javadoc

kind regards

Tobias

> Am 16.12.2016 um 13:14 schrieb Ernesto Reinaldo Barreiro :
> 
> I think this example
> 
> http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
> 
> will do if you implement the getBytes method to read image from file system.
> 
> On Fri, Dec 16, 2016 at 12:19 PM, ganea iulia 
> wrote:
> 
>> Hello,
>> Do you have any link for a tutorial?
>> 
>> On Fri, Dec 16, 2016 at 1:04 PM, Ernesto Reinaldo Barreiro <
>> reier...@gmail.com> wrote:
>> 
>>> Mount a resource that readi image form that folder
>>> 
>>> On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia 
>>> wrote:
>>> 
 Hello,
 Wicket 7.
 
 I have been struggling to read an image from absolute path but with no
 luck.
 
 I have a folder with some images inside catalina base directory from
>>> where
 I need to display images in my web page.
 However, this does not work.
 
 
 Could you please guide me on how to do this?
 
 Thank you.
 
>>> 
>>> 
>>> 
>>> --
>>> Regards - Ernesto Reinaldo Barreiro
>>> 
>> 
> 
> 
> 
> -- 
> Regards - Ernesto Reinaldo Barreiro


Re: Reading Image from absolute path

2016-12-16 Thread Ernesto Reinaldo Barreiro
I think this example

http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/

will do if you implement the getBytes method to read image from file system.

On Fri, Dec 16, 2016 at 12:19 PM, ganea iulia 
wrote:

> Hello,
> Do you have any link for a tutorial?
>
> On Fri, Dec 16, 2016 at 1:04 PM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
> > Mount a resource that readi image form that folder
> >
> > On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia 
> > wrote:
> >
> > > Hello,
> > > Wicket 7.
> > >
> > > I have been struggling to read an image from absolute path but with no
> > > luck.
> > >
> > > I have a folder with some images inside catalina base directory from
> > where
> > > I need to display images in my web page.
> > > However, this does not work.
> > >
> > >
> > > Could you please guide me on how to do this?
> > >
> > > Thank you.
> > >
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>



-- 
Regards - Ernesto Reinaldo Barreiro


Re: Reading Image from absolute path

2016-12-16 Thread ganea iulia
Hello,
Do you have any link for a tutorial?

On Fri, Dec 16, 2016 at 1:04 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> Mount a resource that readi image form that folder
>
> On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia 
> wrote:
>
> > Hello,
> > Wicket 7.
> >
> > I have been struggling to read an image from absolute path but with no
> > luck.
> >
> > I have a folder with some images inside catalina base directory from
> where
> > I need to display images in my web page.
> > However, this does not work.
> >
> >
> > Could you please guide me on how to do this?
> >
> > Thank you.
> >
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>


Re: Reading Image from absolute path

2016-12-16 Thread Ernesto Reinaldo Barreiro
Mount a resource that readi image form that folder

On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia 
wrote:

> Hello,
> Wicket 7.
>
> I have been struggling to read an image from absolute path but with no
> luck.
>
> I have a folder with some images inside catalina base directory from where
> I need to display images in my web page.
> However, this does not work.
>
>
> Could you please guide me on how to do this?
>
> Thank you.
>



-- 
Regards - Ernesto Reinaldo Barreiro


Reading Image from absolute path

2016-12-16 Thread ganea iulia
Hello,
Wicket 7.

I have been struggling to read an image from absolute path but with no luck.

I have a folder with some images inside catalina base directory from where
I need to display images in my web page.
However, this does not work.


Could you please guide me on how to do this?

Thank you.