gallery: use server-side "to" to prevent closed loop reindex