Hi @ChanuteJo ,
If you're defining segment code inside split activity as below,
then you can use the below script in personalized block,
<% if ( targetData.segmentCode == 'segment1' ) { %>
<IMG src="http://abcd.com/img1.png" border="0">
<% } else if ( targetData.segmentCode == 'segment2' ) { %>
<IM...