working custom image preview, needs dynamic form