Formatting image selector result textbox

  •  04-13-2010, 1:03 PM

    Formatting image selector result textbox

    I built an image selector tool using the Image Gallery selector. After I select my image, and it places the path result into my textbox, the path reflected is the absolute path from my local machine:
     
     
     
    When I click Update Image, I'm writing that Image textbox result to my database and I don't want the Absolute Path recorded. I want the Site Root Relative path recorded. How can I change it so that after I select my image, it inserts the Site Root Relative Path into my textbox instead: "~/uploads/user-images/image.jpg"?
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems