adding a parameter to check if the user wants to have a full width final row or just a partial width. This is to stop the image going too wide if there is only one on the final row.
adding new extend syntax to allow multiple instances fixes #8