开发者

resize and cache remote images using php and store the original and the duplicate

开发者 https://www.devze.com 2023-02-21 15:35 出处:网络
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.

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

精彩评论

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