Fix for multiple photos

Data variable must be given as an array in order for RequestHandler to
manage it correctly