structure for foto galleries