Made image text work the same way as filename. If the filename or text is empty then setting them to empty does not set the image rep to nil.