plupload should save large and small image

£可爱£侵袭症+ 提交于 2019-12-11 18:24:42

问题


I am using plupload to save multiple images, I want to store same image with 2 sizes, small image for thum and large image to display in large.

How plupload will store 2 sizes of images?


回答1:


It is easier implementing what you need in the server side...

For the plupload; you can make use of the function:

  resize : {width : 500, height : 600, quality : 90},

You should be able to achieve what you need if you also made use of the events such FileUploaded to reupload the same uploaded file but with different parameters.

Here take a look at this discussion; it should guide you to the right path

http://www.plupload.com/punbb/viewtopic.php?id=555



来源:https://stackoverflow.com/questions/16210845/plupload-should-save-large-and-small-image

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!