fix imagehandler, now in permanent storage