fixed bug with imagesource (portrait, beleg), caused by removal of code