August 3rd: How to use Ajax to load photos from user’s hard drive
Lien,
I have this idea that I would like for you to try.
So far we have use AJAX to “Dynamically” change photo and text very well such as in CP and PU. The photos are always stored on OUR server.
I would like
A. to allow USER to load Photos from their HARD DRIVE in an AJAX environment, meaning that the Web page does not get refreshed when the photo is loaded.
B. The Photo is RESIZED to fit exactly inside a BOX that we design. We choose the layout of the Boxes
Take a look here
You see that there are 3 photos of different shapes in the posting.
Thi Du:
Minh tao cai blog nay, minh se co 3 blank BOX co size khach nhau. Minh de user load hinh tu hard drive cua ho. User click vao BOX 1 roi load hinh vao BOX 1 do, hinh se tu dong resize de fit voi cai BOX 1.
Nhu vay, sau 3 lan load, thi cai blog se co 3 hinh ma layout tuong tu nhu minh muon.
Minh design Template, minh muon control cai layout cho dep. User khoi co phai resize ma cung khoi phai layout may hinh.
