Appearance
Image Gallery
Folders Configuration
You can access the image gallery when you or your users choose an image for the "Image" block. You independently decide how many folders it contains and whether the user can only use it as drag-and-drop or also upload images to it for future use.
For example, below you can see three folders in the image gallery named "Email", "Project", and "Common".
These folders were created and configured on the Plugin details page as shown above.
In this section, you can manage:
- Number of folders: Decide how many folders you need.
- Folder names: Specify the names of created folders in every supported language.
- Folder path: Define the path where images should be stored in each folder.
- Permissions: Grant respective permissions.
You can specify a dynamic folder path to the repository and insert variables that may be provided during the initialization of the Stripo editor.
For example, if you want to separate images for different email templates, you can create the "Emails" folder and specify its path as ${templateId}
. When initializing the Plugin, pass the templateId
value (e.g., 00000) among the parameters in the metadata
, and the Plugin will fetch images from the “00000” folder (this folder will be automatically created on the configured server if it does not exist yet).
Please be advised that by default, the Stripo plugin also creates technical folders to store generated banners, image previews for the “Video” basic block, etc. These folders cannot be managed from the Stripo Plugin details page.
If you want to set the User role for a specific folder and prevent your clients from removing images, initialize the Plugin with the additional configuration:
js
"hideDeleteImageAction": true
This code hides the Delete option for images and leaves only the editing option for the User role.
If you have any questions on this matter, please contact our support team at support@stripo.email.
Image Limits
You can specify the maximum size of an image uploaded to the gallery. The maximum value cannot exceed 20 MB per document.
Stock Image Configuration
If you want to provide your users with the option to search for and use free stock images within the image gallery while creating an email, simply activate the "Stock images configuration" option.
Once activated, specify the stock folder name, choose an available stock images provider, and configure it according to the provided instructions.
The list of providers may be extended in the future.