added image resource to get jpeg reader