Support destroy photo on both client and parse side