It turns out that the problem actually lay in the fact that we weren't checking the first image parameter for the caption parameter. Now that we're doing that it works as intended. Also, it seemed that the captions of left-aligned images were mispositioned. This has also been fixed.
It turns out that the problem actually lay in the fact that we weren't checking the first image parameter for the
caption
parameter. Now that we're doing that it works as intended. Also, it seemed that the captions of left-aligned images were mispositioned. This has also been fixed.