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

TypeAccepted formatsMax size
ImageJPEG, PNG, BMP, GIF, SVG, and other standard image formats10 MB
PDFPDF documents25 MB
CSSCSS stylesheets1 MB
JavaScriptJavaScript files1 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.

FieldRequiredDescription
FileYesThe file to upload. Must be one of the supported types listed above
KeywordsYesA label used to identify and search for the asset. Spaces are allowed
TagsNoAttach 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:

AreaUsage
PublicationsLogo and favicon
DomainsLogo
PagesImage insertion via the GrapesJS visual editor
MessagesThumbnail images in email content
ResourcesThumbnail image and attached PDF
Resource CategoriesCategory thumbnail image
VideosThumbnail images
TestimonialsWebsite image
SettingsBranding 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.