burt202/lite-uploader

image height width validation

Closed this issue · 5 comments

a good package man!
it is better we have height and width validation for image.

Hi, thanks for the suggestion. I'll see what I can do. No guarantees!

Sorry for the delay but just to give you an update on this. I wont be putting in height and width validation directly into the plugin as the plugin is for uploading any types of file, and height and width only relate to some file types. I will, however, look into adding a way of adding custom validators so you can achieve this yourself, outside the plugin, will minimal effort. I aim to do this as part of v4 in the next week or so. Hope this helps

I've added an option to add custom validators, see https://github.com/burt202/lite-uploader/blob/master/examples.md#custom-validators for an example. I'll close this once v4 is released. Cheers

thx man 😄😄

可用于iOS的myMail发送

2016年7月13日 星期三 +0800 06:13 发件人 barry205 notifications@github.com:

I've added an option to add custom validators, see https://github.com/burt202/lite-uploader/blob/master/examples.md#custom-validators for an example. I'll close this once v4 is released. Cheers

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or mute the thread .

v4 now released