Changing the way the image list is retrieved for galleries. Menu sorted
by title