[fix bug Bug 943585] build photo galleries for contact pages