View Full Version : preview using ExtJS
based on the input URL of pdf or image or jpeg i need to display the appropriate one in the flash player in a preview panel using extJS 4.0
please suggest with the approach and code.
3 Apr 2012, 9:22 AM
I am not sure I understand your requirement.
Here is an article about embedding flash in a panel. If you want to display images in a panel, then you can use html
html: '<img src=image_file + '.jpg?'+dtStamp.getTime()+'" onError=this.src="photos/no_photo.jpg" />' // added random number to get latest image from disk
7 Jun 2012, 4:44 AM
Thanks for sharing , But what about docx files and excel files and any other files for preview.
If it is possible please tell me ASAP,
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.