Implemented WMS legend images in layer detail window #251