Fixed rendering of img in iterator with empty values