Summary
===========
This plug-in finds any `div class="figures"` tags in the output, finds the image contained inside each one,
then checks the dimensions of the image file and adds the appropriate style="width: ???px;" to both the img tag
and it's containing div.figure tag.
Assuming that the image is 250px wide, it turns output like this:
This is the caption of the figure.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
into output like this:
This is the caption of the figure.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
TODO: Currently only does the first figure, not all of them