Results 1 to 3 of 3

Thread: Showing an uploaded image....

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    21
    Vote Rating
    1
      0  

    Default Showing an uploaded image....

    Hi,

    I want to show an uploaded image in a form. I tried using 'Ext.Img' but what I want is, the uploaded image may be of any size.. I want it to be shown of size 100 x 100 px. Is there some better option available?
    Any help would be appreciated.

    Thanks in advance

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    I'm not sure what the issue is. You give it a width of 100 and height of 100 and the url of the image. The size would depend on the layout of the parent.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    21
    Vote Rating
    1
      0  

    Default

    Actually, I want to show thumbnail of the image uploaded, currently some portion of the image is cut

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •