mercredi 4 mars 2015

Change in plupload for image resize


So, I have been trying to enable resizing in the plupload on the client side for my wordpress website: http://ift.tt/ZOpxjg


(ps. the image upload button is used by "Wp user frontend pro")


I got a response back from the plupload developer:



It depends on which Plupload version is in use by "wp user frontend" plugin. But in general it should be as simple as passing resize params to your Plupload config (however it is done in the plugin you've mentioned).



... resize: { width: 100, height: 100 } ...




Then I asked "Wp user frontend pro" developer to find out which file I would have to modify. But they said it will take some time to do so and wait for the update, which could be a month away.


So, I located plupload files (wp-includes/js/plupload).


Could you guys guide me which file I need to change?


Thank you!





Aucun commentaire:

Enregistrer un commentaire