Jump to content
LaunchBox Community Forums

Show 2 ScreenShot Title & Gameplay


ethoronath

Recommended Posts

Hi all, I try show in my theme two images, "Screenshot - Game Title" and "Screenshot - Gameplay"

This is my code.....

I know that "Path=ActiveGame.ScreenshotGameplayImagePath" it's not correct, and it's correct "Path=ActiveGame.ScreenshotImagePath" but It's posible show the 2 images at time???

Spoiler

            <!-- IMAGE TITLE START -->
            <Image x:Name="ImageTitle" Grid.Column="12" Grid.Row="11" Source="{Binding Path=ActiveGame.ScreenshotImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center"
                   Stretch="Fill" Panel.ZIndex="2" >
            </Image>
            <!-- IMAGE TITLE END -->

            <!-- IMAGE SCREEN START -->
            <Image x:Name="ImageScreen" Grid.Column="14" Grid.Row="11" Source="{Binding Path=ActiveGame.ScreenshotGameplayImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center"
                   Stretch="Fill" Panel.ZIndex="2" />
            <!-- IMAGE SCREEN END -->

 

Link to comment
Share on other sites

@ethoronath Very nice; that theme is looking really great. It looks like you'll need a way to specifically retrieve "Screenshot - Game Title" and "Screenshot - Gameplay" images from the XAML, which I don't think exists yet, sadly. It could certainly be done with a plugin, but otherwise it looks like I'll have to code something in for it. The existing "ScreenshotImagePath" property just returns a random screenshot from the game, and doesn't restrict the type of screenshot.

I can add something in, but then it won't be widely available until the next release. Do you still want me to tackle that?

Link to comment
Share on other sites

Thanks, I have solved it putting the Screenshot - Game Play in the folder Banner, and using this line of code.

 

<!-- IMAGE SCREEN START -->
            <Image x:Name="ImageScreen" Grid.Column="14" Grid.Row="11" Source="{Binding Path=ActiveGame.BannerImagePath}" HorizontalAlignment="Center" VerticalAlignment="Center"
                   Stretch="Fill" Panel.ZIndex="2" />
            <!-- IMAGE SCREEN END -->

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...