Parametrized gallery justification