made form handler do things for images