Jpg viewer not working