4 Replies Latest reply on Jul 12, 2012 12:32 PM by Efren ONeill

    How do I obtain image full path after Camera::choose_picture?

      After much tinkering with RhoStudio, I finally got around to show a link to the user so he can invoke Camera::choose picture.  I can use @params to retrieve the status and the selected image URI.  The problem is that the URI is relative.  If I try placing this URI on an <img src>, nothing is shown.  I tested using a hardcoded absolute path to an image and the it shows correctly in the <img>

       

      How can I turn the relative path returned in Camera::choose_picture to an absolute path for an <img>?