Fixed getImagesByName to return IEntity[]