FileToDataURI is a jQuery plugin that allows you to retrieve the content (base64 encoded) of a local file using the HTML5 File API or using a Flash application if the File API is not available. It can be very useful under some not-so-modern browsers, like IE7/8/9.