Thumbnail image and page/block types

Vote:
 

Hi,

how does one set the thumbnail/preview image which is shown (or not) when one creates a new page or block? On the selection page (suggested and all types) the description can be set in admin mode in settings of corresponding page/block type. But how about the thumbnail/preview -image?

 

 

#75331
Sep 25, 2013 13:11
Vote:
 

This should make black magic happen:

[ContentType(GUID = "...", GroupName = GroupNames.Default)]
[ImageUrl("~/assets/gfx/thumbnail-image.png")]
public class YourPageType : PageData
{
}

    

#75334
Sep 25, 2013 13:19
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.