0

I would like to understand if there is any way to do thumbnail preview in salesforce on file upload

I tried implementating the below but apparently it does not work without paura package/framework and I am not sure how to install

http://peterknolle.com/image-preview-lightning-component/

If there is any other alternative code for thumbnail preview, that would also be really helpful.

  • You can write your own via the FileReader/HTMLCanvas interface. Any generic version of this should work, as Locker Service does not restrict it. – sfdcfox Mar 25 at 1:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.