Profile page thumbnails alignment
Image View Page - Thumbnail distortion
Correction: limit value was hardcoded.
Use mimetype instead of filename to validate file type for uploads.
Bug fixed in determination of file type. File handler needs to point back to zero-byte for further reads.
Moved header-based checking of mimetype into the existing utility function get_mime_type
StoredFile.orig_extn column
Storing the original extension of the image, when it is uploaded.
Added mimetypes for .bmp files.
http://filext.com/file-extension/BMP
Added mimetypes for corel draw files.
http://filext.com/file-extension/CDR
Made file mimetype and extension guessing more robust.
Used the ALLOWED_MIMETYPES mapping dictionary to generate EXTNS to use instead of image_formats() to check for formats that can be resized by imgee.
Corrected error in previous commit
Corrected error in previous commit
Made extensions in the ALLOWED_MIMETYPES mapping dictionary unicode, as they will be used in the database.
StoredFile needs to be provided with unicode values for title and mimetype
Store width and height for svg
Merge branch 'profile-page-thumbnails' into vector
Merge branch 'imgviewpg-sidebar-thumbs' into vector
Incorporated the CSS changes made in branches profile-page-thumbnails & imgviewpg-sidebar-thumbs, in the SASS files.