Generate thumbnail client side and send its URL and info with the image message body

This commit is contained in:
Emmanuel ROHEE 2014-08-21 14:30:41 +02:00
parent 9d4bc8985f
commit aac52fce15
3 changed files with 149 additions and 28 deletions

View file

@ -23,7 +23,7 @@ angular.module('mUtilities', [])
.service('mUtilities', ['$q', function ($q) {
/*
* Get the size of an image
* @param {File} imageFile the file containing the image
* @param {File|Blob} imageFile the file containing the image
* @returns {promise} A promise that will be resolved by an object with 2 members:
* width & height
*/