Assets
Assets are files you upload and manage in OptiPub. They are stored on a CDN and can be referenced throughout the platform β in pages, publications, resources, messages, and more.
Navigate to Content β Assets
Supported File Types
| Type | Accepted formats | Max size |
|---|---|---|
| Image | JPEG, PNG, BMP, GIF, SVG, and other standard image formats | 10 MB |
| PDF documents | 25 MB | |
| CSS | CSS stylesheets | 1 MB |
| JavaScript | JavaScript files | 1 MB |
Only one file type is allowed per asset. The type is determined automatically based on the file you upload.
Creating an Asset
Click the Create button to open the asset form.
| Field | Required | Description |
|---|---|---|
| File | Yes | The file to upload. Must be one of the supported types listed above |
| Keywords | Yes | A label used to identify and search for the asset. Spaces are allowed |
| Tags | No | Attach Tags to organize assets alongside other content on the platform |
Once saved, the asset is uploaded to the CDN and available immediately. The assets table displays the ID, Type, Keywords, Tags, and a Preview for each asset.
Editing an Asset
Select an existing asset from the table to open the edit form. You can replace the file, update keywords, or change tags. When a file is replaced, the CDN cache for that asset is automatically invalidated so the new version is served right away.
Importing from a URL
Assets can also be imported from an external URL instead of uploading a file directly. This is useful when the file is hosted elsewhere (e.g. a third-party image URL) and you want to bring it into OptiPub.
The import process downloads the file, detects its type from the MIME header, and creates the asset. The same size limits apply.
Previewing Assets
- Images display an inline thumbnail preview in the asset table and anywhere an asset is selected
- PDF, CSS, and JavaScript assets show a type icon instead
- Clicking an asset's preview opens the full file in a new browser tab
Where Assets Are Used
Assets are referenced across many parts of OptiPub:
| Area | Usage |
|---|---|
| Publications | Logo and favicon |
| Domains | Logo |
| Pages | Image insertion via the GrapesJS visual editor |
| Messages | Thumbnail images in email content |
| Resources | Thumbnail image and attached PDF |
| Resource Categories | Category thumbnail image |
| Videos | Thumbnail images |
| Testimonials | Website image |
| Settings | Branding logo |
When building pages in the GrapesJS editor or inserting images in the TinyMCE editor, an asset picker lets you search existing assets by keyword and tag, or upload a new asset on the spot.
Updated 18 days ago
