Banners that are created with Bannerwise are automatically compressed on export to reduce the file size and help you meet the KB size requirements of your network. Most networks require you to upload a banner that is 150 KB or smaller.
In some cases, the file size can exceed 150 KB. Banners that include large or multiple images, banners utilising custom fonts, or complex animations could end up too large to be accepted by the network. What now? In order to help you find a quick solution to this, we have outlined several things you can attempt to reduce the file size of your HTML5 banners.
As a first step, you should always extract the zip file of a banner exceeding 150 KB and check what assets account for the large file size. Below we have listed some common reasons why your banners are exceeding the 150 KB mark, and what you can do to reduce the file size.
Large index.html file
When creating a dynamic banner ad you realize that the index file is around or over 70KB, it is an indicator that you are using a number of different custom fonts in your banner. Unfortunately, there is nothing we can do to further compress your font files. We recommend double checking over your banner to evaluate if you really need all the custom fonts added.
Removing one or more of your custom fonts and replacing it with a Google font, will reduce the KB size of the index file. You can add Google Fonts in Bannerwise directly from the Font library.
For non-dynamic banners, Bannerwise automatically creates a subset of your custom font to reduce the KB size of the index file. Automatically subsetting your font means that Bannerwise will only export the characters used in your banner instead of the entire font family. Subsetting fonts is not possible in dynamic banners since we don't know what characters will be used. Subsetting fonts will drastically reduce the file size of your standard banners when using a custom font.
Large image assets
Some images assets might increase the file size of your exported banner. This could result in your banner exceeding 150 KB.
In order to further reduce the KB size of specific assets after export, you can use Tinypng. Below you can find a list of 4 steps that you can use to compress images after export.
- Drag all compatible image files (JPG, PNG) out of a banners asset folder and drop them on the interface of the TinyPNG website.
- After the website is done compressing click on “download all”
- Open (unzip) the output and copy the compressed images over to the banner asset folder
- Overwrite all images by replacing all the old images with the newly compressed counterparts.
- Once you are done with one size, pick a new size to reduce the file size and go back to step 1.
What extra measures does Bannerwise take to reduce file size?
We aim to make your exported file as small as possible. Part of this is to automatically crop out parts of an image that are outside of your banner. In the image below, you can see how this works. This helps us to reduce the KB size of larger images where only a part of the images is actually used.
In the image on the left, the image falls outside off the Bannerwise canvas.
In the image on the right shows what the image will look like after export.
Some animation effects will prevent automatic cropping. These effects include scale up and down, rotate, and any direction effects. In the image below, we give an example of how an image will look after export in these cases.
Other reasons why your image is not being automatically cropped could be that it appears on two or more slides, and has different animations in both slides. In addition, elements that have been rotated will not be cropped either.
Sometimes even your best efforts will not help you get the banner under the required KB size. In this case you can always turn to the Bannerwise Support Team for help - reach out to us on firstname.lastname@example.org or using the chat. Let us know what banner set it concerns, and we will happily help you out!