now loading png and jpg images