5 Nov 2010 5:32 AM #1
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?
5 Nov 2010 5:34 AM #2
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?
5 Nov 2010 5:44 AM #3
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
5 Nov 2010 5:47 AM #4
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.
By alladin-it in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 11 Jul 2011, 4:57 PM
By bluesapphire in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 21 Jun 2008, 6:29 AM
By uclali1986 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 22 Apr 2008, 2:37 AM
By markash in forum Ext 2.x: Help & DiscussionReplies: 8Last Post: 26 Mar 2008, 11:30 PM