resize and cache remote images using php and store the original and the duplicate
I want to get remote images and resize them and store them as well as storing the original images.
I would like an option to regenerate images /thumbnails as well, so they are updated automatically.
The types of images that should be allowed are gif and jpeg
If possible then gif should also be converte开发者_StackOverflowd to jpeg.
Anyone has simple class or function to do this?
- Get remote images: curl or (assuming
allow_url_fopen
) simply fopen - Resize Images: gd or imagemagick
精彩评论