Configure Global Upload Settings
To define the size and formats of the files, reduce the size of images to be uploaded into the website back-office or the storefront, you need to configure the corresponding settings in the system configuration.
To configure the upload settings globally:
- Navigate to System > Configuration in the main menu.
- In the System Configuration menu to the left, expand General Setup and click Upload Settings.
For faster navigation between the configuration menu sections, use Quick Search.
The following page opens:
Clear the Use Default check box next to the option.
In the File Size Settings section, provide the maximum file size (in MB) that is allowed to be uploaded to the application.
In the MIME types section, select a set of mime types that will be supported for the file and image attachments in the system. MIME types are Multipurpose Internet Mail Extension types which help identify the types of the attachments and, thus, limit the possibility of uploading the documents of inappropriate extensions.
Add any MIME type by writing the required file or image format in the text box.
The MIME types settings can be configured globally and per organization.
In the Image Processing section, you can control whether to optimize or not the size of the uploading images in the storage. By default, the setting is enabled, which means that the size of all images that you upload to the system is compressed while preserving the quality.
Enable Image Optimization — Select whether to enable the system to optimize the image, reducing the final image size. If disabled, all the images are uploaded without size modifications.
Keep in mind that all the images uploaded in earlier application versions, remain intact. They won’t be deleted or replaced even after migration. If you want to resize them, then you should delete them manually and reupload.
JPEG Resize Quality (%) — The setting determines the percentage of the .jpg image resize quality. You can set the values from 30 to 100. The higher the value, the better the image quality.
PNG Resize Quality (%) — The setting provides two options for controlling the quality of .png images. Preserve quality enables the system to slightly resize the image with the full preservation of the quality. Minimize file size enables the system to resize the image to its minimal possible size while still keeping the high quality.
Click Save Settings.
If attachments are enabled for an entity, the configuration of the entity will prevail and override the corresponding global one.