Categorieën: Alle - server - response

door Hazuli Fidastian 3 jaren geleden

349

upload-produk-pic-flow

A comprehensive procedure for uploading and managing product pictures within a system involves several key steps. Initially, users click an upload button, which triggers a dialog to select an image.

upload-produk-pic-flow

upload-produk-pic-flow

fungsi upload picture

set primary
hapus
add

steps

when click upload button
set image with id
call upload dialog

Simpan

klik simpan produk
Klik lagi simpan produk

save picture, berdasarkan idpicture yang baru di update

save produk_master

save produk

upload foto

catat idpicture yang baru disimpan

simpan dengan idproduk_master = 0

make error red
sudah ada data?
sudah ada pic?

produk management

import from database
update produk
call all produk

appereance

set preview with pic
set div.foto with pic
server send response pic url
save data, upload foto to server
trigger #txtBrowseProduk
add div.foto