Fixed a problem where if you change theme the plugin doesn't appear to be working. All that's required is to regenrate the metadata for the attachment prior to resizing.