Its not coming into this statement.
$this->images
is returning null and cannot seem to trace why its not entering here but is in protected function srcset_attributes()
protected function create_markup()
{
$img_attributes = $this->create_attributes($this->settings['attributes']);
$markup = '<img ';
if ( count($this->images) == 1 ) :
$markup .= 'src="'.$this->images[0]['src'].'"';
else:
$markup .= 'srcset="'.$this->srcset_attribute().'" ';
endif;
$markup .= $img_attributes;
$markup .= '>';
return $markup;
}
}