阅读背景:

上传后使用LiipImagineBundle调整图像大小?

来源:互联网 

I'm using the LiipImagineBundle with Symfony 2.1 and would like to resize user uploaded images upon upload before saving them to the permanent filesystem location (to strip metadata, impose jpeg format, and limit the size of the file). I have to call a 'strip' and 'resize' filter from the controller and then save the filtered image from a temporary location to a folder of my choosing in the filesystem. with Symfony 2.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: