gallery image index now reads order from metadata