Image Renditions and December Cumulative Update SharePoint 2013

January 29, 2014

Once you've updated your environment with the Cumulative Update of December 2013, it could happen that you see the following errors popping up in your ULS logs: Format Exception: Input string was not in a correct format.

The problem occurs if you provisioned your image renditions to the site collection via the PublishingImageRenditions.xml file. In that xml file you could specify your own dimensions for the image renditions you want to use on the site collection (like described in this post: Provision Image Renditions).

If for instance you didn't specify a height or width for a specific dimension, it worked perfectly fine before the Cumulative Update of December 2013. Once you've installed this update, the dimension may not have empty values anymore.

If you want that a dimension doesn't need to have a specific height or width, you should set the value to -1 instead of leaving it empty. Once you have updated the incorrect dimension in the PublishingImageRenditions.xml file, the error messages will be gone, and the image renditions will work again.