Problems with images in writer

I have used Images in Writer previously, but now I get this

It seems that it can be something about Java, but I have now installed this and still I get the same square.
What can I do ?

Do you have this behavior for all images inserted? What kind of image is being inserted? (.jpg, .png, … )

It is jpg and has been no problem before. But it is also like this in OpenOffice so it can`t be just a setting in LibreOffice.

View → Images and Charts.

View → Images and Charts.