1. #1
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default Show an Image

    Show an Image


    Hi. Can I show an Image introducing the path? For example, D:\Documents and Settings\photo.jpg
    I found one function in gwt, Image imagen = new Image(url);
    but you can include only the url (www). Is there any fuction in gxt?

    Thanks.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You want to show an image that is on the users computer? Why dont you add a FileUploadField, let the user upload the image and than display it over http?

  3. #3
    Ext User
    Join Date
    Oct 2010
    Posts
    10
    Vote Rating
    0
    adrian28 is on a distinguished road

      0  

    Default


    I've added a FileUplloadField to get the path and I want to show de image with this path instead of display it over http

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    You cannot get the path cross browser. IE will fake it for example. You need to either upload it (which i would do) or add some bridge with flash for example.

Similar Threads

  1. Show image in form
    By alladin-it in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 11 Jul 2011, 4:57 PM
  2. How to show some 'Loading' image on whole window
    By bluesapphire in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 21 Jun 2008, 6:29 AM
  3. How to show only image file?
    By uclali1986 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 22 Apr 2008, 2:37 AM
  4. Can a FormPanel show an image
    By markash in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 26 Mar 2008, 11:30 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar