{"action":"opened","issue":{"url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/488","repository_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard","labels_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/488/comments","events_url":"https://api.github.com/repos/ironmansoftware/universal-dashboard/issues/488/events","html_url":"https://github.com/ironmansoftware/universal-dashboard/issues/488","id":381916982,"node_id":"MDU6SXNzdWUzODE5MTY5ODI=","number":488,"title":"New-UDImageCarouselItem BackgroundImage File Path doesn't display image","user":{"login":"pldmgg","id":10552007,"node_id":"MDQ6VXNlcjEwNTUyMDA3","avatar_url":"https://avatars1.githubusercontent.com/u/10552007?v=4","gravatar_id":"","url":"https://api.github.com/users/pldmgg","html_url":"https://github.com/pldmgg","followers_url":"https://api.github.com/users/pldmgg/followers","following_url":"https://api.github.com/users/pldmgg/following{/other_user}","gists_url":"https://api.github.com/users/pldmgg/gists{/gist_id}","starred_url":"https://api.github.com/users/pldmgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pldmgg/subscriptions","organizations_url":"https://api.github.com/users/pldmgg/orgs","repos_url":"https://api.github.com/users/pldmgg/repos","events_url":"https://api.github.com/users/pldmgg/events{/privacy}","received_events_url":"https://api.github.com/users/pldmgg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T01:01:35Z","updated_at":"2018-11-18T01:01:35Z","closed_at":null,"author_association":"NONE","body":"Using Windows PowerShell 5.1, UniversalDashboard.Community 2.1.0, do the following:\r\n\r\n```powershell\r\n$MyDashboard = New-UDDashboard -Title \"Hello, World\" -Content {\r\n    New-UDImageCarousel -Items {\r\n        $Slide0 = @{\r\n            BackgroundImage = \"C:\\Users\\zeroadmin\\Downloads\\TestPic0.jpg\"\r\n            #BackgroundImage = \"file:///C:/Users/zeroadmin/Downloads/TestPic0.jpg\"\r\n            #BackgroundImage = $(New-UDImage -Path \"C:\\Users\\zeroadmin\\Downloads\\Services\\HBONow\\Carousel\\GameOfThrones.jpg\").Attributes.src\r\n            BackgroundRepeat = 'no-repeat'\r\n            BackgroundSize = 'cover'\r\n            BackgroundPosition = '0% 0%'\r\n            #BackgroundColor  = '#3f51b5'\r\n            Url  = \"/OverviewShow/Test0\"\r\n        }\r\n        New-UDImageCarouselItem @Slide0\r\n\r\n        $Slide1 = @{\r\n            BackgroundImage = \"C:\\Users\\zeroadmin\\Downloads\\TestPic1.jpg\"\r\n            #BackgroundImage = \"file:///C:/Users/zeroadmin/Downloads/TestPic1.jpg\"\r\n            #BackgroundImage = $(New-UDImage -Path \"C:\\Users\\zeroadmin\\Downloads\\TestPic1.jpg\").Attributes.src\r\n            BackgroundRepeat = 'no-repeat'\r\n            BackgroundSize = 'cover'\r\n            BackgroundPosition = '0% 0%'\r\n            #BackgroundColor  = '#3f51b5'\r\n            Url  = \"/OverviewShow/Test1\"\r\n        }\r\n        New-UDImageCarouselItem @Slide1\r\n\r\n        $Slide2 = @{\r\n            BackgroundImage = \"C:\\Users\\zeroadmin\\Downloads\\TestPic2.jpg\"\r\n            #BackgroundImage = \"file:///C:/Users/zeroadmin/Downloads/TestPic2.jpg\"\r\n            #BackgroundImage = $(New-UDImage -Path \"C:\\Users\\zeroadmin\\Downloads\\TestPic2.jpg\").Attributes.src\r\n            BackgroundRepeat = 'no-repeat'\r\n            BackgroundSize = 'cover'\r\n            BackgroundPosition = '0% 0%'\r\n            #BackgroundColor  = '#3f51b5'\r\n            Url  = \"/Overview/Test2\"\r\n        }\r\n        New-UDImageCarouselItem @Slide2\r\n    } -Height 450px -FullWidth -FixButton -ButtonText 'GO TO..' -ShowIndecators\r\n}\r\n\r\nStart-UDDashboard -Dashboard $MyDashboard\r\n```\r\n\r\nI also tried a couple of other formats referring to file locations (commented out above), but those didn't work either.\r\n\r\nI tried looking into `src/UniversalDashboard/Cmdlets/NewImageCarouselItemCommand.cs` and related files, but nothing really jumped out at me.\r\n\r\nCan anyone recreate this issue? Theories on why it's happening?"}}
{"actor":{"display_login":"pldmgg"}}