Image gallery implemented from foundation