Changed the ImageBean constructor.
In keeping with the way image bean data is collection in BeanGenerator class, a String 'whichVal' decides what the String 'someVal' carries - Name, Size or Location.
Accordingly, the bean's values are set.