Making progress

got local image code working, working on new overall format