dotlouis / StudIonic

Studapp mobile application using Ionic Framework and Cordova
2 stars 0 forks source link

keep pictures size appropriate #8

Open dotlouis opened 9 years ago

dotlouis commented 9 years ago

Maybe use Parse.Could to reduce picture to the desired size

dotlouis commented 9 years ago

Partially done. Because cordova automatically resize picture to desired target size when selecting from file/photo picker of device. However the backend does not enforce this behavior so anyone could upload a big picture with REST or something else

dotlouis commented 9 years ago

server side see the Parse Image Cloud module. https://parse.com/docs/cloud_modules_guide#images

dotlouis commented 9 years ago

Interesting: https://github.com/igrigorik/http-client-hints#delivering-dpr-aware-images and https://github.com/agektmr/responsive-resource-loader