Clientside Image resize with width upto 500px using jquery.canvasResize ...

...(AamAadmiParty/aapkamanch#33)