Created previewer.
Fixed image preview. It works oddly, but at least it works.