block. It always put tne image at the beginning of the page, so without respecting the order and the placement of the image, except for the first one.
The syntax I use for each image (and which is giving me these problems) is:
Thanks for the link. The easiest way for most flexible positioning as near as possible with good page breaks is \begin{figure}[!htbp], so allowing all, no general restrictions. That's what I use most of the times.
Sometimes \begin{figure}[H] for placing exactly here, forced, can be good, and allows referencing, same syntax. It just has a risk that page breaks are not good if you don't allow floating that way.
Yes, I forgot to mention, that for using the H option, \usepackage{float} is needed.
Nowadays I tend to prefer figure with H over center and \captionof, because the syntax then stays the same, and it can easily be changed to floating or back. Let's say at the very end for printing, one can change H to !hb or !htbp or, the other way round, some floating figures to H if it's a better match within the text and the page break is fine. But the latter is just for final tweaks. Main reason for me is the consistent syntax. And the easy way to change to proper floating.