I added a new Image aspect to my contents. This image will be the thumbnail of the content. I am trying to set the custom view to show thumbnails according to this new image aspect. But I can not see if and how to get to this new aspect from freemarker. Any one has any idea?
You can test for the existance of an aspect using the hasAspect method (see the Template Guide wiki docs). Then you can be sure that any properties that are part of your aspect definition will be available. You can access them in the same way you would any property, e.g. document.properties["uriropname"] where uri=your custom model uri shortname and where propname=your property name.