You can customize how your pages (and users) access attachments in your solutions and forums. For example, you can create a layout that will automatically show the thumbnail of the first image attachment alongside the solution’s overview. Any image attachments will automatically create a corresponding thumbnail as well.
Placeholder | Return Type | What they mean |
attachment.url | url | URL to the attachment |
attachment.thumbnail | url | Preview image of the attachment file |
attachment.extension | string | The file extension of the attachment (.doc, .jpg etc) |
attachment.filename | string | The filename of the attachment without the extension |
attachment.size | number | File size of the attachment |
attachment.is_image? | boolean | Returns true or false based on whether the attachment is an image or not |
Here's the list of placeholders for other categories such as, General Portal Information, Managing User Access, Forums, Access to Solutions, and Using Snippets for critical behaviour.