Get full image name for FILE input?

Get full image name for FILE input?

Hi,

I'm trying to get the full value from an "image" field, with this:


   $('#client_local_offer_image').change(function(){
            alert($('#client_local_offer_image').val());
   });




However, the value only seems to include the filename - and not the full path (what I'm trying to achieve, is a "preview" feature - which will shrink the image down to a fixed size, and update an existing <img id="xxx"> bit in the HTML)

Any suggestions?

TIA

Andy