Use the correct .png extension for the image placeholder.

This was changed to the mozilla broken image resource
without changing the filename, even though the file
type changed.
This commit is contained in:
Ralph Giles 2015-11-13 11:40:10 -08:00
parent 4f855dc63a
commit 135bcacee4
3 changed files with 2 additions and 2 deletions

View file

@ -460,7 +460,7 @@ pub fn new_image_cache_task(resource_task: ResourceTask) -> ImageCacheTask {
// Preload the placeholder image, used when images fail to load.
let mut placeholder_path = resources_dir_path();
placeholder_path.push("rippy.jpg");
placeholder_path.push("rippy.png");
let mut image_data = vec![];
let result = File::open(&placeholder_path).and_then(|mut file| {

View file

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 253 B

Before After
Before After

View file

@ -1 +1 @@
<img width="100px" height="100px" src="rippy.jpg">
<img width="100px" height="100px" src="rippy.png">