Assembly path to embedded image resource used to represent this plugin within the Windows Live Writer user interface (menu bitmap, sidebar bitmap, etc.).
The size of the embedded image should be 16x16.
For example, if the plugin image is named "MyPluginImage.png" and is located in a sub-folder named "Images" then the ImagePath would be "Images.MyPluginImage.png".
Two other things to make sure of when specifying the ImagePath:
-
The image should be contained within the project as an Embedded Resource.
-
The WriterPlugin class should be contained within the Default Namespace for the assembly (this is required because of the way .NET resolves the names of resources loaded from assemblies).
Note: |
|---|
Beta One of Windows Live Writer required a 20x18 image. If you wish to include a plugin image which is compatible with both Beta One and future versions you can either:
Include a 20x18 image (it will be scaled to 16x16 in versions of the product which require this size); or
Include a 20x18 image which includes the 16x16 image centered within it (the area outside the 16x16 image should be transparent). In this case no scaling will be done, rather the 16x16 image will be extracted and rendered at its original scale.
|
Reference
WriterPluginAttribute Class