add gallery id to params