What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to insert image into plugins UI?

KestasMIl

New Member
Joined
Feb 14, 2016
Messages
2
Hello, how do i insert image file into plugin UI?

What i have tried so far:

1. IN XAML

<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom" Source="currency_icons/Scroll_of_Wisdom_icon.png" />

2. IN XAML

<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom">
<Image.Source>
<BitmapImage UriSource="currency_icons/Scroll_of_Wisdom_icon.png"/>
</Image.Source>
</Image>

3. IN CODE

image.Source = new BitmapImage(new Uri("currency_icons/Scroll_of_Wisdom_icon.png", UriKind.Relative));

-------------------------

None of the above display image in plugin window. None of it throw any errors. Any help appreciated.
 
Last edited:
Hello, how do i insert image file into plugin UI?

What i have tried so far:

1. IN XAML

<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom" Source="currency_icons/Scroll_of_Wisdom_icon.png" />

2. IN XAML

<Image Grid.Row="2" Grid.Column="0" x:Name="image" Height="30" Width="30" ToolTipService.ToolTip="Scrool Of Wisdom">
<Image.Source>
<BitmapImage UriSource="currency_icons/Scroll_of_Wisdom_icon.png"/>
</Image.Source>
</Image>

3. IN CODE

image.Source = new BitmapImage(new Uri("currency_icons/Scroll_of_Wisdom_icon.png", UriKind.Relative));

-------------------------

None of the above display image in plugin window. None of it throw any errors. Any help appreciated.

Your path is wrong, take a look on this side, try to log the path or something, but it looks bad.
 
Back
Top