Thanks for the code above. I now have a dropdown that displays a complete list of all image libraries.
I would also like to make each item in the dropdown list clickable. So you click the dropdown list then select an image library from the dropdown which would reload either the page of just the images to show only the images from your chosen library. Can you help?
So the end result would be a clickable dropdown list that would display only the image library chosen.