This will never, ever, ever work. Image's src attribute tells the
browser where to look. Since your customers won't have
F:\workspace\project\pictures\2\profile.jpg (or possibly they might,
but that is a 0.0000001% chance), the browser will shows a 404 image
not found error in the best possible scenario, but probably will fail
because you can't refer to local resources from an external domain
without breaking the sandbox.

Martijn

On Sat, Jan 15, 2011 at 8:34 PM, Emmanouil Batsis <ma...@abiss.gr> wrote:
>
>
> Quoting Henrique Boregio <hbore...@gmail.com>:
>>
>> <img wicket:id="image" src="F:\workspace\project\pictures\2\profile.jpg"/>
>
> That will never work. You *might* have a chance using the file: URI scheme
> like
>
> <img wicket:id="image"
> src="file:///F:/workspace/project/pictures/2/profile.jpg"/>
>
>
> but, overall, this may be a security thing that requires configuration on
> the browser side to work in any case.
>
> hth,
>
> Manos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to