views/pet.js : Supported to save the image uploaded