prototype photo scaling with response.js