Brian had suggested following code. I tried it but facing some problems
1. If I remove the "default" permission from the script, user is unable to upload any images. He gets an error :
Sorry, but you are only allowed to upload a maximum of images per day.
Please note there is no limit number in the error message
Case 1:
If I definie "default field" say 3. I upload 3 images with out problems. Now I delete one of 3 images and then again try to upload one image, I get an error
Sorry, but you are only allowed to upload a maximum of 3 images per day.
when only 2 images are uploaded as 3rd image is deleted.
Case 2:
I upload 3 image and then delete 2 images. I again upload 2 more images and it works fine.
But if i limit only one image try to upload it does not work
Code:
Content visible to verified customers only.