disable ImageMetrics on non-public wikis

Change-Id: Idc9789548dd0c37bb3566150dd749ccced352d62