sadik7266 / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

How to upload image only of certain resolution? #173

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi All,
      I'm using fyneworks-multi-file-upload-plugin. It was working fine until i met with this requirement, I just want to set the upload for particular resolution, Like i need to allow upload only image of dimension 1024px*643px. How can i set it in this plugin.

Original issue reported on code.google.com by raju.all...@gmail.com on 7 Mar 2013 at 5:24

GoogleCodeExporter commented 8 years ago
That cannot be done via javascript. 

You'll have to upload the image and use server side scripting (like php) to 
validate the file.

Original comment by diego.a...@gmail.com on 7 Mar 2013 at 6:36

GoogleCodeExporter commented 8 years ago
Hi diego, thanks for your reply, can u please tell me how to check the 
resolution in php?

Original comment by raju.all...@gmail.com on 7 Mar 2013 at 6:38

GoogleCodeExporter commented 8 years ago
https://www.google.co.uk/search?q=how+to+find+image+resolution+in+php

Original comment by fyneworks on 6 Jun 2013 at 4:51