intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Giải pháp thiết kế web động với PHP - p 27

Chia sẻ: Yukogaru Yukogaru | Ngày: | Loại File: PDF | Số trang:10

50
lượt xem
6
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

GENERATING THUMBNAIL IMAGES If you want to delete the original image after the thumbnail has been created, pass true as the second argument to the constructor like this: $upload = new Ps2_ThumbnailUpload('C:/upload_test/', true); The class has the following public methods: • • • setThumbDestination(): This sets the path to the folder where the thumbnail images are to be saved. If you don t call this method, the thumbnails are stored in the same folder as the original images. setThumbSuffix(): Use this to change the suffix inserted into the thumbnail names. The default is _thb. move(): This uploads the original image(s) and generates the thumbnail(s)....

Chủ đề:
Lưu

Nội dung Text: Giải pháp thiết kế web động với PHP - p 27

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
4=>1