PHP Create Thumbnail – PHP thumbnail generator

This file help you generate thumbnail for all pictures inside 1 folder, and rename it, can move it to thumbnail folder …
First, we find all files was thumbnail pictures, define by name in that folder:

Then, read the content of directory, filter out all images files, and creatthumb functions:
That’s all, now you can generate thumbnail for all files by:
You can use another thumbnail function:

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *