If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
Create Custom Preview Images for Building Blocks and Page Templates
Introduction
To make your custom UI resources easy to browse, you can create custom preview images for your building blocks and page templates. We’ve provided downloadable templates in the .sketch and .psd formats, which are available on the Atlas UI site.
This how-to teaches you how to do the following:
- Create building block preview images in various editors
- Create page template preview images in various editors
Creating Building Block Preview Images
Creating a Building Block Preview Image in Sketch
To create a building block preview image in Sketch, follow these steps:
-
Download the Atlas UI image templates resources pack.
-
Open the Sketch file named BB_previewimage.sketch. This file contains two artboards. The first artboard shows an example of how custom preview images look in the Studio Pro’s Toolbox. The second artboard is where you place your image.
-
Hide the layer called Template, then insert your preview image into the Building Block preview folder.
-
When you are happy with your image, select your artboard.
-
In the Export dialog box that appears on the lower-right side of your screen, make sure the preferences are set to the following:
- Size: 1x
- Format: PNG
-
Export your image.
Creating a Building Block Preview Image in Photoshop
To create a building block preview image in Photoshop, follow these steps:
-
Download the Atlas UI image templates resources pack.
-
Open the Photoshop file named BB_previewimage.psd.
-
Double-click the smart object in the Layers panel.
-
Replace the contents of the folder with your building block preview image.
-
Save your changes and navigate back to your template file.
-
If you are happy with your image, export your file as a .png file.
Creating a Building Block Preview Image in Illustrator
To create a building block preview image in Illustrator, follow these steps:
-
Download the Atlas UI image templates resources pack.
-
Open the Illustrator file named BB_previewimage.ai. This file contains two artboards. The first artboard shows an example of how custom preview images look in the Studio Pro’s Toolbox. The second artboard is where you place your image.
-
Hide the layer called Template, then insert your preview image into the Building Block preview folder.
-
When you are happy with your image, select your artboard.
-
Click File > Export for screens, then select the BB Image@2x artboard.
-
Make sure the preferences are set to the following:
- Scale: 1x
- Format: PNG
-
Export your image.
Creating a Building Block Preview Image in Another Image Editor
You can also create your building block preview image in a different image editor of your choice. Building block preview images should be 280px wide and 216px tall. Save the image as a .png file.
Creating Page Template Preview Images
Creating a Page Template Preview Image in Sketch
To create a page template preview image in Sketch, follow these steps:
-
Download the Atlas UI image templates resources pack.
-
Open the Sketch file named PT_previewimage.sketch. This file contains three artboards. The first two artboards show examples of how page template preview images look. The third artboard is where you place your image.
-
Hide the layer called Template, then insert your preview image into the Building Block preview folder.
-
When you are happy with your image, select your artboard
-
In the Export dialog box that appears on the lower-right side of your screen, make sure the preferences are set to the following:
- Size: 1x
- Format: PNG
-
Export your image.
Creating a Page Template Preview Image in Photoshop
To create a page template preview image in Photoshop, follow these steps:
-
Download the Atlas UI image templates resources pack.
-
Open the Photoshop file named PT_previewimage.psd.
-
Double-click the smart object in the Layers panel.
-
Replace the contents of the folder with your page template preview image.
-
Save your changes and navigate back to your template file. If you are happy with your image, export your file as a .png file.
Creating a Page Template Preview Image in Illustrator
To create a page template preview image in Illustrator, follow these steps:
-
Download the Atlas UI image templates resources pack.
-
Open the Illustrator file named PT_previewimage.ai. This file contains three artboards. The first two artboards show examples of how page template preview images look. The third artboard is where you place your image.
-
Hide the layer called Template, then insert your preview image into the Page template preview folder.
-
When you are happy with your image, select your artboard
-
Click File > Export for screens, then select the PT@2x artboard.
-
Make sure the preferences are set to the following
- Scale: 1x
- Format: PNG
-
Export your image.
Creating a Page Template Preview Image in Another Image Editor
You can also create your page template preview image in a different image editor of your choice. Page template preview images should be 255px wide and 255px tall. Save the image as a .png file.