added image validation by size, adding images now works with some limitations