{"id":15966226,"url":"https://github.com/dkhmelenko/cacheimage","last_synced_at":"2026-03-11T18:30:17.117Z","repository":{"id":33992696,"uuid":"37745780","full_name":"dkhmelenko/CacheImage","owner":"dkhmelenko","description":"Image control with caching for UWP and WP8 (Silverlight)","archived":false,"fork":false,"pushed_at":"2017-07-30T13:03:14.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T03:28:11.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dkhmelenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-19T21:02:44.000Z","updated_at":"2018-11-24T09:48:03.000Z","dependencies_parsed_at":"2022-07-13T08:11:03.410Z","dependency_job_id":null,"html_url":"https://github.com/dkhmelenko/CacheImage","commit_stats":null,"previous_names":["brave-warrior/cacheimage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkhmelenko%2FCacheImage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkhmelenko%2FCacheImage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkhmelenko%2FCacheImage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkhmelenko%2FCacheImage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkhmelenko","download_url":"https://codeload.github.com/dkhmelenko/CacheImage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239914929,"owners_count":19717759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T18:01:10.144Z","updated_at":"2026-03-11T18:30:17.056Z","avatar_url":"https://github.com/dkhmelenko.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project description\n[![Build status](https://ci.appveyor.com/api/projects/status/0n3fe76exx2hx6f6?svg=true)](https://ci.appveyor.com/project/brave-warrior/cacheimage)\n[![Latest stable version](https://img.shields.io/nuget/v/CacheImage-UWP.svg)](https://www.nuget.org/packages/CacheImage-UWP/)\n\nCacheImage (Silverlight) for WP8/WP8.1\n\n[![Latest stable version (deprecated) ](https://img.shields.io/nuget/v/CacheImage.svg)](https://www.nuget.org/packages/CacheImage)  (*deprecated*)\n\nCacheImage is a lightweight library, which introduces new control - CacheImage for Windows Phone 8/8.1 (Silverlight) and Universal Windows Platform (UWP Windows 10). This control can be used for caching images on disk. As soon as image loaded from the web, local copy will be used. The file name of the local copy contains a hash of the web link. Also, this library provides an ability to set up placeholder, while the image is downloading. The idea of the control came from [here](http://chandermani.blogspot.de/2012/05/caching-images-downloaded-from-web-on.html).\n\n# Usage\n```xaml\nxmlns:lib=\"using:CacheImage\"\n    \n...\n    \n\u003clib:CacheImage Url=\"http://www.google.com/doodle4google/images/d4g_logo_global.jpg\" \n                Placeholder=\"/Assets/placeholder.png\"\n                /\u003e\n```\nControl contains the following own properties:\n- `Url` - link to the image in the network starting with http or https\n- `Placeholder` - path to the local image for using as a placeholder\n- `DecodePixelHeight` - appropriate property of BitmapImage of the main image\n- `DecodePixelWidth` - appropriate property of BitmapImage of the main image\n- `DecodePixelHeightPlaceholder` - property DecodePixelHeight of BitmapImage of the placeholder image\n- `DecodePixelWidthPlaceholder` - property DecodePixelWidth of BitmapImage of the placeholder image\n- `Stretch` - appropriate property of BitmapImage of the main image\n- `StretchPlaceholder` - property Stretch of BitmapImage of the placeholder image\n\n# Contribution\nIf you have any suggestions or ideas, feel free to create pull request.\n\n# Warranties\nCurrently the version of the library for UWP (Windows 10) is the main implementation. \n\nLibrary for Windows Phone 8/8.1 (Silverlight) is now *deprecated* and is not recommended for using because of the performance issues.\n\nIn case you found any problem, please submit an issue or feel free to create a pull request.\n\n# License\n\n[Apache Licence 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nCopyright 2015 Dmytro Khmelenko\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkhmelenko%2Fcacheimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkhmelenko%2Fcacheimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkhmelenko%2Fcacheimage/lists"}