Fixed PortableBLL for image handling