fix bug in image plugin re. semanticblock refactor
Merge branch 'ticket-359' into testing