Wrap image attributes in quotes

We noticed image attribute values were not wrapped in quotes - this fixes that.