22 Nov 2012 2:00 AM #1
Unanswered: Showing an uploaded image....
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
24 Nov 2012 6:24 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
24 Nov 2012 6:37 AM #3
Actually, I want to show thumbnail of the image uploaded, currently some portion of the image is cut