trigger alert() if there are no images

click callback triggers alert() when no images been specified

- ImageFromAttribute.get_images return empty array when
attribute is not specified or is empty string