GeoHazardWatch supports attaching images, PDFs, and other documents to pages. Attachments are stored centrally and can be embedded or linked from any page.
There are three ways to embed content — choose based on what you are embedding:
[{Image}] and [{ATTACH}]Both plugins look up the file by name automatically. See the full parameter reference at Using ImagePlugin and Using AttachPlugin.
Embed an image (renders inline with layout options):
[{Image src='photo.jpg'}]
[{Image src='photo.jpg' caption='My Caption' align='left' display='float'}]
[{Image src='banner.jpg' display='full'}]
Embed any file — images render as clickable thumbnails; all other files render as download links with a type icon:
[{ATTACH src='report.pdf' caption='Q4 Report'}]
[{ATTACH src='photo.jpg' align='left' display='float' caption='Team Photo'}]
Quick insert from Browse — no typing required:
media:// URIIf the Media feature is enabled, you can embed photos from the media library without uploading them as attachments. Use the media:// prefix followed by the original filename:
[{Image src='media://IMG_1234.jpg' caption='Family Trip 2024' align='center'}]
[{ATTACH src='media://vacation.jpg' align='left' display='float'}]
The file is served from the media library; no upload is required. Access control is enforced — items linked to Private Pages are only visible to authorised users.
Any src that starts with http://, https://, or / is used as-is:
[{Image src='https://example.com/image.jpg' caption='External photo'}]
[{Image src='/public/images/logo.png'}]
When you write [{Image src='photo.jpg'}] or [{ATTACH src='photo.jpg'}], the system resolves the file in this order:
media:// prefix → looked up in the media library by filenameIf no match is found, a "not found" message is shown in place of the content.
[{Image}] and [{ATTACH}]| Situation | Recommended plugin |
|---|---|
| Embed an image with layout control (float, block, full-width) | Either — both support the same display modes |
| Provide a download link for a PDF, spreadsheet, or archive | [{ATTACH}] — adds a type icon and link |
| Embed a media library photo | Either — use media://filename as src |
| Insert via Browse Attachments popup | Either — popup inserts the correct syntax |
The key difference: [{Image}] is image-only and defaults to a float layout. [{ATTACH}] handles both images and files, defaulting to a block layout for images and a download link for everything else. Both support the same align, display, caption, width, height, and style parameters for images.
See Using ImagePlugin and Using AttachPlugin for the full parameter reference.
/admin/attachments) for full management including deleteAttachments are stored centrally with:
Allowed types and the maximum upload size are set by an administrator. Common defaults:
See Using ImagePlugin and Using AttachPlugin for full parameter references, Media for browsing and embedding media library photos, and Media Management for the administrator guide.