Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

checking image size before upload

I noticed when uploading a profile pic to Twitter that its size is checked before upload. Can anyone point me to a solution like this?

Thanks

like image 351
drs Avatar asked May 29 '26 23:05

drs


1 Answers

If you're checking the file size you can use something like uploadify to check the file size before upload.

Checking the actual file dimensions (height / width) may need to be done on the server.

like image 157
Mark Redman Avatar answered May 31 '26 11:05

Mark Redman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!