Thumbnail Generation
<p>Is there a "good" way to generate a thumbnail for a JPEG file that doesn't have on in the EXIF information?</p>

<p>If a user uploads an image, I'm trying to display the thumbnail, but if there's no thumbnail in the image the display is blank (src=""). Currently we replace blank images with a loading image that gets swapped out with the thumbnail generated on the server by an AJAX call back.</p>

<p>Is there anything I can do client-side (jQuery &amp; jQuery UI are already integrated, but open to new libraries if they'll help) other than displaying a loading image that gets changed by the AJAX call back?</p>

<p>For clarification I don't just mean taking the Base64 raw data and changing the height and width attributes most of our users upload 5MB+ files, and the text alone crashes the browser if we use the raw data. I mean actually appending a thumbnail to the EXIF, or creating it and using the created base64 data as the image source.</p>

<p>Apologies in advance for breaches in etiquette or lack of clarity, this is my first question on Stack Overflow.</p>
