Difference between revisions of "Images"
Jump to navigation
Jump to search
(Created page with "This page will serve as notes to how Images are displayed in the app. Images can include pictures found on Media, or pictures of Suspects, Investigations, or Media (primary ph...") |
|||
| Line 37: | Line 37: | ||
| Maps the Image database table to a ImageModel in the code | | Maps the Image database table to a ImageModel in the code | ||
| \Truxton\Client\Libraries\TruxtonClient.Services\ImageService.cs | | \Truxton\Client\Libraries\TruxtonClient.Services\ImageService.cs | ||
| + | |- | ||
| + | | ImageContent.xaml | ||
| + | | The xaml used when viewing an Image that is a Media-File. It's loaded into FileContentViewer.xaml | ||
| + | | \Truxton\Client\TruxtonClient\TruxtonClient\Themes\Content\ImageContent.xaml | ||
|- | |- | ||
|} | |} | ||
== Running a Development Build == | == Running a Development Build == | ||
Latest revision as of 11:41, 30 November 2021
This page will serve as notes to how Images are displayed in the app. Images can include pictures found on Media, or pictures of Suspects, Investigations, or Media (primary photos).
UI Guide Menu
Summary
Main Code Summary Path ImageFactory.cs Takes a ImageModel and creates a ImageViewModel \Truxton\Client\TruxtonClient\TruxtonClient\ViewModels\Findables\Factories\ImageFactory.cs ImageInitializer.cs Takes one or more ImageViewModels and uses the ImageService to add the URIs \Truxton\Client\TruxtonClient\TruxtonClient\PresentationCore\ViewModelMapper\ViewModelInitializers\ImageInitializer.cs FileContent.cs When a Media artifact or associated file is opened, this class initializes the Image and File needed to display it to the UI \Truxton\Client\TruxtonClient\TruxtonClient\ViewModels\FacetViews\File\FileContent.cs ImageService.cs Maps the Image database table to a ImageModel in the code \Truxton\Client\Libraries\TruxtonClient.Services\ImageService.cs ImageContent.xaml The xaml used when viewing an Image that is a Media-File. It's loaded into FileContentViewer.xaml \Truxton\Client\TruxtonClient\TruxtonClient\Themes\Content\ImageContent.xaml