{% extends "_templates/base.html" %} {% set page_title = "Previews & Thumbnails" %} {% block sidebar %} {{ api_links(options=['thumbnails.placeholders-ui', 'template-ui', ], methods=['drawThumbnail']) }} {% endblock %} {% block content %} {% markdown %} # Previews & Thumbnails {: .page-header } ## Summary Version 4.0 brings native support for thumbnail generation for UI and core mode integrators. In modern browsers, Fine Uploader has the ability to generate image previews for dropped or selected files before the upload even begins. For older browsers (IE9 and older) Fine Uploader will display a thumbnail associated with an uploaded file, provided your server response contains a URL for the thumbnail. You also have the option to provide alternate thumbnails or thumbnails for non-images, such as videos, in your server response. Fine Uploader will even go the extra mile, whenever possible, and parse the EXIF data for dropped or selected JPEGs in order to ensure any generated previews are oriented correctly when displayed. You can also ask Fine Uploader to enforce a maximum height/width for thumbnails in all browsers. Finally, you may elect to have Fine Uploader display a placeholder image before the thumbnail is displayed, along with a placeholder if the thumbnail cannot be displayed for any reason. The library ships with some default placeholders, but you can easily replace these with your own. ## Getting Started The `templates` folder bundled with Fine Uploader contains a `simple-thumbnails.html` template document that you may use to get up and running with the thumbnail feature. If you are a Fine Uploader UI user, simply including using this document or including the template `