JQuery to preview image and check file(s) size

Signed-off-by: lionel