![](images/graphics/blank.gif)
Giải pháp thiết kế web động với PHP - p 27
lượt xem 6
download
![](https://tailieu.vn/static/b2013az/templates/version1/default/images/down16x21.png)
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)....
Bình luận(0) Đăng nhập để gửi bình luận!
![](images/graphics/blank.gif)
CÓ THỂ BẠN MUỐN DOWNLOAD