开发者

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?


  1. Get remote images: curl or (assuming allow_url_fopen) simply fopen
  2. Resize Images: gd or imagemagick
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜