implement manage the product function and change the image portrait process function