image upload: added strict mode

Using:
add attr source-strict="true"
image upload: added check for min size

Using:
add attr check-min-size="true"