easy way to get gallery photo IDs (for use in themes)