Update getimage0706.py

Added some stuff to match the adafruit code updates.